Best way to http python get json data? Need help with requests! or How to http python get json data e

22 Replies, 1189 Views

If you’re getting gibberish, maybe the API isn’t returning JSON? Check `response.headers` to see the content-type.

For http python get json data, you could also use `response.text` first to see the raw output. Some APIs are weird and return JSON but don’t set the header right.

Messages In This Thread



Users browsing this thread: 1 Guest(s)