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