Sending OK Response over HTTP to a webpage request

Posted by Prashant on Stack Overflow See other posts from Stack Overflow or by Prashant
Published on 2010-05-12T19:37:31Z Indexed on 2010/05/12 19:44 UTC
Read the original article Hit count: 190

Hi,

I am using an SMS Gateway to make my application receive SMSs. For this, the SMS Gateway sends a request to one of the pages in my application with the message as a querystring parameter. eg. http://myapplication/SMSReceiver.aspx?Message=PaulaIsHome.

Now after my page gets invoked, I need to send an OK response to the SMS Gateway so that it doesn't keep retrying to send the same message to my application again and again. I cannot figure out how to send the OK response.

I am using ASP .Net and C#.

Thanks

© Stack Overflow or respective owner

Related posts about httpwebrequest

Related posts about httpwebresponse