Authentication handler for using Esri ArcGIS for Server and Portal (ArcGIS Online) Token Authentication with Python Requests
22
stars
1
forks
source link
Forcing a POST request DOES have implications. Stumbled across some admin urls that only support GET #33
Closed
pfoppe closed 6 years ago
This was a terrible idea...
https://github.com/DOI-BLM/requests-arcgis-auth/blob/6ff118c47bc615861eebd9c3f6e07bcc20e7b983/requests_arcgis_auth/arcgis_token_auth.py#L118
specifically the https://www.example.com/arcgis/admin/security/psa/update?f=json request (with no payload/body) failed with a POST with the following JSON: {"status":"error","messages":["java.lang.NullPointerException"],"code":500}
That request is querying the existing Primary Site Administration (PSA) credentials.