I am working on acquiring a token from my Portal's generateToken endpoint (https://<host>:<port>/arcgis/sharing/rest/generateToken). In order to get the token I need to submit my POST request over HTTPS. I've followed ESRI's online instructions for submitting the username and password in the body of the request and that works but I am wondering if it would be possible to put the creds in an authorization header instead. The creds belong to a built in account. I've tried the standard Basic Auth and X-ESRI-Authorization Basic headers. Neither work. A link to the online instructions I've been following is provided below.
Generate Token—ArcGIS REST API | ArcGIS for Developers
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.