Sending HTTP Response 200 OK to Gateway | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through December 09, 2003 ⬆ |
◄ ► |
Author | Message | |||
Sathish Kumar N New member Username: Nsathish Post Number: 3 Registered: 10-2003 |
I have given http command request in the 'Command Execute' line. When I receive the HTTP request I get in this format; "GET /?name=%2B919886092167&Message=Hi%20sathish HTTP/1.0\r\nUser-Agent: Now SMS/MMS Gateway v5.0 (b20031006)\r\nAccept: */*\r\nConnection: Close\r\nHost: 164.16.2.11:2010\r\n\r\n" In what format I should send HTTP Response to gateway from my application so that it recognizes the format. Thanks, Satish | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 938 Registered: 10-2002 |
The example that you posted in the following thread would appear to be a perfectly valid response: http://support.nowsms.com/discus/messages/1/962.html (A Content-Length: header would be nice, but it is not required as long as you close the connection after you send your response.) |