@kingzack wrote:
I've wrangled quite a few api's in my day, however am totally stuck on this one.
I'm using the documentation on this page, but cant figure out how to get past step one.
Below is my simple python code using the requests library.
Can someone please tell me wtf im doing wrong?
Sincerely, ZACKIn [10]: import requests header = {"Accept": "application/json", "Content-Type": "application/json"} payload = {"username":"kingzack", "password": "top-secret-yo"} endpoint = "https://api.hooktheory.com/v1/users/auth/" requests.post(endpoint, headers=header, data=payload) Out[10]: <Response [404]>
Posts: 3
Participants: 2