Moved Customer Notes

This commit is contained in:
Norm Rasmussen
2022-09-16 15:43:56 -04:00
parent 7c1b45c15f
commit 8890851540
42 changed files with 1707 additions and 1762 deletions

View File

@ -0,0 +1,21 @@
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":"<p>This is <br/> a new page</p>","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)