Hot answers tagged request
You were very close! This was quite tricky actually as the ArcGIS REST API documentation didn't explain much. According to the requests docs, you can explicitly set the content headers. This worked for me: import requests import os token = 'K6ZZZsf0Xtf...........PLNffN03fWcA..' url = ...
Only top voted, non community-wiki answers of a minimum length are eligible