Last active
December 25, 2015 01:09
-
-
Save apfister/6892749 to your computer and use it in GitHub Desktop.
request for trigger/list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esri.request({ | |
url: 'https://geotrigger.arcgis.com/trigger/list', | |
headers: { | |
'Authorization' : 'Bearer <my super duper valid Access Token>' | |
} | |
}).then( | |
function (response) { | |
console.log(response); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If it's going through your proxy page, then your proxy is probably not adding the authorization header.