mirror of
https://github.com/cwinfo/envayasms.git
synced 2025-01-10 12:05:40 +00:00
fix documentation bug for X-Request-Signature
This commit is contained in:
parent
6aee71659c
commit
7ce12974bb
@ -268,12 +268,12 @@ The following HTTP Headers are sent in all POST requests from EnvayaSMS:
|
|||||||
<li>Generate an input string by concatenating:
|
<li>Generate an input string by concatenating:
|
||||||
<ul>
|
<ul>
|
||||||
<li>the server URL,</li>
|
<li>the server URL,</li>
|
||||||
<li>each of the sorted POST parameters with their corresponding values, and</li>
|
<li>each of the sorted POST parameters, in the format name=value for each name/value pair,</li>
|
||||||
<li>the password,</li>
|
<li>the password,</li>
|
||||||
</ul>
|
</ul>
|
||||||
with a comma in between each element, like so:
|
with a comma in between each element, like so:
|
||||||
<br />
|
<br />
|
||||||
<code>"<serverURL>,<name1>,<value1>,<...>,<nameN>,<valueN>,<password>"</code>
|
<code>"<serverURL>,<name1>=<value1>,<...>,<nameN>=<valueN>,<password>"</code>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>Generate the SHA-1 hash of the input string in UTF-8</li>
|
<li>Generate the SHA-1 hash of the input string in UTF-8</li>
|
||||||
|
@ -308,12 +308,12 @@ The following HTTP Headers are sent in all POST requests from EnvayaSMS:
|
|||||||
<li>Generate an input string by concatenating:
|
<li>Generate an input string by concatenating:
|
||||||
<ul>
|
<ul>
|
||||||
<li>the server URL,</li>
|
<li>the server URL,</li>
|
||||||
<li>each of the sorted POST parameters with their corresponding values, and</li>
|
<li>each of the sorted POST parameters, in the format name=value for each name/value pair,</li>
|
||||||
<li>the password,</li>
|
<li>the password,</li>
|
||||||
</ul>
|
</ul>
|
||||||
with a comma in between each element, like so:
|
with a comma in between each element, like so:
|
||||||
<br />
|
<br />
|
||||||
<code>"<serverURL>,<name1>,<value1>,<...>,<nameN>,<valueN>,<password>"</code>
|
<code>"<serverURL>,<name1>=<value1>,<...>,<nameN>=<valueN>,<password>"</code>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>Generate the SHA-1 hash of the input string in UTF-8</li>
|
<li>Generate the SHA-1 hash of the input string in UTF-8</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user