Issue a simple GET request to a Clacks HTTP Server

PHOTO EMBED

Tue Apr 04 2023 22:33:54 GMT+0000 (Coordinated Universal Time)

Saved by @MaVCArt #python

import requests

# -- with the standard web API, the simple GET method without any path will just be rerouted to the "list_commands"
# -- method.
response = requests.get('http://localhost:9000')
print(response.json()['response'])
content_copyCOPY