diff --git a/.phrozn/entries/serverapi.twig b/.phrozn/entries/serverapi.twig index bab33a0..ed61bed 100755 --- a/.phrozn/entries/serverapi.twig +++ b/.phrozn/entries/serverapi.twig @@ -24,7 +24,7 @@ HTTP Request Format
- In each of the example requests below, the Server URL is set as http://192.168.70.1:3000/sg/kalsms
,
+ In each of the example requests below, the Server URL is http://192.168.70.1:3000/sg/kalsms
and the phone number of the phone with KalSMS is 16505551212
.
+HTTP/1.1 200 OK +Content-Type: text/plain +Content-Length: 2 + +OK ++
- The response content is currently undefined and ignored.
+ The response content for send_status
requests is currently undefined and ignored.
+ HTTP status code 200 signifies success, and anything else signifies failure.
+ In each of the example requests below, the Server URL is http://192.168.70.1:3000/sg/kalsms
+ and the phone number of the phone with KalSMS is 16505551212
.
+
An incoming SMS from 6505551234
with message body "test":
@@ -348,8 +353,18 @@ The Content-Type header should be text/xml, with the content as follows:HTTP Response for action=send_status
+Example: ++HTTP/1.1 200 OK +Content-Type: text/plain +Content-Length: 2 + +OK ++- The response content is currently undefined and ignored. + The response content for
send_status
requests is currently undefined and ignored. + HTTP status code 200 signifies success, and anything else signifies failure.