diff --git a/.phrozn/entries/serverapi.twig b/.phrozn/entries/serverapi.twig index 11964a9..c68ef52 100755 --- a/.phrozn/entries/serverapi.twig +++ b/.phrozn/entries/serverapi.twig @@ -24,14 +24,14 @@ HTTP Request Format
- In each of the example requests below, the Server URL is http://192.168.70.1:3000/sg/EnvayaSMS
+ In each of the example requests below, the Server URL is http://192.168.70.1:3000/sg/app
and the phone number of the phone with EnvayaSMS is 16505551212
.
An incoming SMS from 6505551234
with message body "test":
-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: sAemG31uRllk/K9xck2WRNaF/WI= Content-Length: 96 Content-Type: application/x-www-form-urlencoded @@ -44,7 +44,7 @@ from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212An incoming MMS message with an
image/jpeg
part and atext/plain
part with message 'Test':-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: OgpiQet9guVhEp+0klrONR8qGNs= Content-Length: 13087 Content-Type: multipart/form-data; boundary=i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO @@ -132,7 +132,7 @@ Content-Transfer-Encoding: binaryChecking for outgoing SMS messages:
-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: 139CL71b7r1Zw/E2wcccWFviSlg= Content-Length: 50 Content-Type: application/x-www-form-urlencoded @@ -145,7 +145,7 @@ action=outgoing&version=2&phone_number=16505551212Notifying the server of the status of a sent message:
-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: 6uJtI6+QqlVBbUsR4T0WsQomods= Content-Length: 80 Content-Type: application/x-www-form-urlencoded diff --git a/serverapi.html b/serverapi.html index 58b3539..1ceba49 100755 --- a/serverapi.html +++ b/serverapi.html @@ -58,14 +58,14 @@ HTTP Request FormatExample requests
- In each of the example requests below, the Server URL is
http://192.168.70.1:3000/sg/EnvayaSMS
+ In each of the example requests below, the Server URL ishttp://192.168.70.1:3000/sg/app
and the phone number of the phone with EnvayaSMS is16505551212
.An incoming SMS from
6505551234
with message body "test":-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: sAemG31uRllk/K9xck2WRNaF/WI= Content-Length: 96 Content-Type: application/x-www-form-urlencoded @@ -78,7 +78,7 @@ from=6505551234&message_type=sms&message=test&version=2&phone_number=16505551212An incoming MMS message with an
image/jpeg
part and atext/plain
part with message 'Test':-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: OgpiQet9guVhEp+0klrONR8qGNs= Content-Length: 13087 Content-Type: multipart/form-data; boundary=i66xAht5IMn1Tfk7tL9DgY8ZHZxq0d0RGB6_wkjO @@ -166,7 +166,7 @@ Content-Transfer-Encoding: binaryChecking for outgoing SMS messages:
-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: 139CL71b7r1Zw/E2wcccWFviSlg= Content-Length: 50 Content-Type: application/x-www-form-urlencoded @@ -179,7 +179,7 @@ action=outgoing&version=2&phone_number=16505551212Notifying the server of the status of a sent message:
-POST /sg/EnvayaSMS HTTP/1.1 +POST /sg/app HTTP/1.1 X-Request-Signature: 6uJtI6+QqlVBbUsR4T0WsQomods= Content-Length: 80 Content-Type: application/x-www-form-urlencoded