mirror of
https://github.com/cwinfo/envayasms.git
synced 2025-01-10 12:05:40 +00:00
add test action to server api page, fix broken link
This commit is contained in:
parent
132185684e
commit
43ed6bd2da
@ -125,7 +125,7 @@ In particular, you do not need to register for <a href='http://envaya.org'>envay
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
For information about configuring a web server to connect to EnvayaSMS, see the <a href='serverapi.html'>API Reference</a> page.
|
For information about configuring a web server to connect to EnvayaSMS, see the <a href='/serverapi/'>API Reference</a> page.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h4 id='q_envaya_org'>{{ this.q_envaya_org }}</h4>
|
<h4 id='q_envaya_org'>{{ this.q_envaya_org }}</h4>
|
||||||
|
@ -16,7 +16,7 @@ Suppose also that your web server is <code>example.com</code>, and its servers a
|
|||||||
<p>
|
<p>
|
||||||
In Dar es Salaam, you would put the Android phone in an office with internet access and a Wi-Fi router,
|
In Dar es Salaam, you would put the Android phone in an office with internet access and a Wi-Fi router,
|
||||||
and connect the phone to the Wi-Fi network. (Wi-Fi is not strictly necessary, since EnvayaSMS will also
|
and connect the phone to the Wi-Fi network. (Wi-Fi is not strictly necessary, since EnvayaSMS will also
|
||||||
work over the phone's mobile data connection, but Wi-Fi is likely to be more reliable and cheaper.)
|
work over the phone's mobile data connection, but Wi-Fi is likely to be faster, cheaper, and more reliable.)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -181,7 +181,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
|
|||||||
are running EnvayaSMS.
|
are running EnvayaSMS.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"action" ::= "outgoing" | "incoming" | "send_status"</dt>
|
<dt>"action" ::= "outgoing" | "incoming" | "send_status" | "test"</dt>
|
||||||
<dd>
|
<dd>
|
||||||
The request action determines the purpose of the HTTP request:
|
The request action determines the purpose of the HTTP request:
|
||||||
|
|
||||||
@ -196,11 +196,16 @@ The following parameters are sent in all POST requests from EnvayaSMS:
|
|||||||
Forward an incoming SMS or MMS message to the server
|
Forward an incoming SMS or MMS message to the server
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
<dt>"send_status":</dt>
|
<dt>"send_status":</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Update the server on the status of sending an outgoing message
|
Update the server on the status of sending an outgoing message
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt>"test":</dt>
|
||||||
|
<dd>
|
||||||
|
Test the server connection.
|
||||||
|
</dd>
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
The other POST parameters sent depend on the request action.
|
The other POST parameters sent depend on the request action.
|
||||||
|
@ -156,7 +156,7 @@ In particular, you do not need to register for <a href='http://envaya.org'>envay
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
For information about configuring a web server to connect to EnvayaSMS, see the <a href='serverapi.html'>API Reference</a> page.
|
For information about configuring a web server to connect to EnvayaSMS, see the <a href='/serverapi/'>API Reference</a> page.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h4 id='q_envaya_org'>What is the relationship between EnvayaSMS and envaya.org?</h4>
|
<h4 id='q_envaya_org'>What is the relationship between EnvayaSMS and envaya.org?</h4>
|
||||||
|
@ -53,7 +53,7 @@ Suppose also that your web server is <code>example.com</code>, and its servers a
|
|||||||
<p>
|
<p>
|
||||||
In Dar es Salaam, you would put the Android phone in an office with internet access and a Wi-Fi router,
|
In Dar es Salaam, you would put the Android phone in an office with internet access and a Wi-Fi router,
|
||||||
and connect the phone to the Wi-Fi network. (Wi-Fi is not strictly necessary, since EnvayaSMS will also
|
and connect the phone to the Wi-Fi network. (Wi-Fi is not strictly necessary, since EnvayaSMS will also
|
||||||
work over the phone's mobile data connection, but Wi-Fi is likely to be more reliable and cheaper.)
|
work over the phone's mobile data connection, but Wi-Fi is likely to be faster, cheaper, and more reliable.)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -219,7 +219,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
|
|||||||
are running EnvayaSMS.
|
are running EnvayaSMS.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>"action" ::= "outgoing" | "incoming" | "send_status"</dt>
|
<dt>"action" ::= "outgoing" | "incoming" | "send_status" | "test"</dt>
|
||||||
<dd>
|
<dd>
|
||||||
The request action determines the purpose of the HTTP request:
|
The request action determines the purpose of the HTTP request:
|
||||||
|
|
||||||
@ -234,11 +234,16 @@ The following parameters are sent in all POST requests from EnvayaSMS:
|
|||||||
Forward an incoming SMS or MMS message to the server
|
Forward an incoming SMS or MMS message to the server
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
<dt>"send_status":</dt>
|
<dt>"send_status":</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Update the server on the status of sending an outgoing message
|
Update the server on the status of sending an outgoing message
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt>"test":</dt>
|
||||||
|
<dd>
|
||||||
|
Test the server connection.
|
||||||
|
</dd>
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
The other POST parameters sent depend on the request action.
|
The other POST parameters sent depend on the request action.
|
||||||
|
Loading…
Reference in New Issue
Block a user