Submit SMS Text Message using HTT- POST | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 13, 2018 ⬆ |
◄ ► |
Author | Message | |||
Mathew Mathachan Frequent Contributor Username: Mathewm Post Number: 111 Registered: 04-2011 |
Hi Does the Gateway support submitting a text message using HTTP POST? The documentation says submitting programmatically via URL parameters "http://127.0.0.1:8800/?PhoneNumber=xxxxxxxx&Text=abc+def+ghi" which I assume is referring to HTTP-GET. If it supports submission thru HTTP-POST, what is the format? Thanks in advance Mathew | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5754 Registered: 08-2008 |
Hi Mathew, Yes. To 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:" (this is 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: 112 Registered: 04-2011 |
Thanks Des |