[b]"How to properly use requests.post in Python for API calls?"[/b] or [b]"Getting errors with requests.post in Py

18 Replies, 795 Views

500 errors? Could be rate limiting. Check if the API has quotas.

For debugging, `print(response.request.headers)` and `print(response.request.body)` right before requests.post python. Often reveals the culprit.

Also, `httpstat.us` is great for testing different status codes.

Messages In This Thread



Users browsing this thread: 1 Guest(s)