import requests # Create a new page from API Docs curl -u admin:admin -X POST -H 'Content-Type: application/json' -d '{"type":"page","title":"new page", "space":{"key":"TST"},"body":{"storage":{"value":"

This is
a new page

","representation": "storage"}}}' http://localhost:8080/confluence/rest/api/content/ | python -mjson.tool import requests TODO fix this url url = "https://api.northpass.com/v2/activities" headers = {"accept": "application/json"} response = requests.get(url, headers=headers) print(response.text)