parent
eeba48e52e
commit
6e31b858d3
19
main.py
19
main.py
|
@ -100,18 +100,13 @@ if __name__ == '__main__':
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
<p>How to use the API:</p>
|
<p>How to use the API:</p>
|
||||||
<ul>
|
<code>/power?power=True</code>
|
||||||
<li><code>/api/send</code>: Send a SMS</li>
|
<br>
|
||||||
<p>list of parameters:</p>
|
<code>/power?power=False</code>
|
||||||
<ul>
|
<br>
|
||||||
<li><code>number: The phone number of the recipient</code></li>
|
<code>/mode?mode=0</code>
|
||||||
<li><code>message: The message to send</code></li>
|
<br>
|
||||||
<ul>
|
<code>/mode?mode=1&r=0&g=0&b=0</code>
|
||||||
<p>Example:</p>
|
|
||||||
<ul>
|
|
||||||
<li><code>/api/send?number=01234567890&message="Hello World"</code></li>
|
|
||||||
</ul>
|
|
||||||
</ul>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue