Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lehrkraefte:blc:informatik:glf20:oxotetris [2020/12/17 13:26] Ivo Blöchliger [Highscores auf dem Web] |
lehrkraefte:blc:informatik:glf20:oxotetris [2020/12/17 14:02] Ivo Blöchliger [Highscores auf dem Web] |
||
---|---|---|---|
Line 210: | Line 210: | ||
from tcpcom import * | from tcpcom import * | ||
# See dcoumentation directly in the code of the OxoCard modules files | # See dcoumentation directly in the code of the OxoCard modules files | ||
- | Wlan.connect(" | + | Wlan.connect(" |
- | client = HTTPClient() | + | client = HTTPClient() |
client._isSSL=True | client._isSSL=True | ||
if client.connect(" | if client.connect(" | ||
- | response = client.sendPutRequest("/score/ | + | response = client.sendPostRequest("/scores/ |
print(response) | print(response) | ||
client.closeConnection() | client.closeConnection() | ||
+ | </ |