SMS Submit Text using HTTP POST | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 19, 2016 ⬆ |
◄ ► |
Author | Message | |||
Mathew Mathachan Frequent Contributor Username: Mathewm Post Number: 78 Registered: 04-2011 |
Hi, Is it possible to submit Text messages using HTTP POST? NowSMS documentation mentions HTTP POST only for MMS and OTA. If supported, do clarify - the format in which data is to be written into request stream i.e as name-value pairs or??, separators??, - content-type - does it have to be URL-encoded, - how about handling arabic messages - Appreciate of a sample request/response is also given. Regards Mathew | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5507 Registered: 08-2008 |
Hi Mathew, Apologies for the delay in response. I normally am notified for each new post, but was not notified for this post. When you use HTTP POST, all of the HTTP GET variables are instead sent in the POST data, specifying "application/x-www-form-urlencoded" as the "Content-Type:" (standard web form POST format). Just put all of the variables (everything after the "?") in the post data instead of the URL, and remove the "?" off of the URL. -- Des NowSMS Support | |||
Mathew Mathachan Frequent Contributor Username: Mathewm Post Number: 79 Registered: 04-2011 |
Thanks Des. Mathew |