diff --git a/website-src/_root/developers.html b/website-src/_root/developers.html index 555a6ce87..34b24f99d 100644 --- a/website-src/_root/developers.html +++ b/website-src/_root/developers.html @@ -205,10 +205,10 @@
To send SMS status delivery report back to the server, SMSsync will make a GET ?task=results
to the server and should receive a list
+
To send SMS status delivery report back to the server, SMSsync will make a GET ?task=result
to the server and should receive a list
of message UUIDs that are waiting to receive delivery reports. The server should send the JSON response below
-POST /smssync?task=results HTTP/1.1 +POST /smssync?task=result HTTP/1.1 Host: testserver.local HTTP/1.1 200 OK @@ -220,9 +220,9 @@-Instructions
"95df126b-ee80-4175-a6fb" ] }
Then SMSsync will send delivery reports for the message uuids above as a POST requestPOST ?task=results
with the JSON response below
Then SMSsync will send delivery reports for the message uuids above as a POST requestPOST ?task=result
with the JSON response below
-POST /smssync?task=results HTTP/1.1 +POST /smssync?task=result HTTP/1.1 Host: testserver.local Content-Type: application/json; charset=utf-8 @@ -527,7 +527,7 @@A sample web service
if($_SERVER['REQUEST_METHOD'] === 'POST') { - if($_SERVER['QUERY_STRING'] === 'task=results') + if($_SERVER['QUERY_STRING'] === 'task=result') { get_sms_delivery_report(); }