Select to view content in your preferred language

Can I add custom headers to my request?

1432
1
08-14-2019 04:35 AM
LarsFagerbakke
Occasional Contributor

Please have a look at this codepen: https://codepen.io/_lars_/pen/PoYZgQo 

I took a example and found some documentation about request options, request | ArcGIS API for JavaScript 4.12 

Is it possible to add basic auth header to my request in this way?

Tags (1)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
0 Kudos