POST
|
Hi I've created an endpoint to generate a token using the instructions I found online. I use a https request in Nodejs, i've tried both GET and POST. It works fine on my navigator but i keep getting the same error from my terminal console or from lambda functions: { Error: socket hang up at createHangUpError (_http_client.js:323:15) at TLSSocket.socketOnEnd (_http_client.js:426:23) at TLSSocket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) code: 'ECONNRESET' } Anyone knows what's going on ? Do i need to whitelist the domain or something?
... View more
02-20-2020
06:10 AM
|
0
|
1
|
645
|
POST
|
Unfortunately, the process listed here involves using the secret key to generate a token for each request: Authenticate a request to the World Geocoding Service—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers This means I have to create an API endpoint for the sole purpose of generating tokens... Isn't there another way which doesn't involve the creation of an API endpoint ? Thanks
... View more
02-20-2020
02:18 AM
|
0
|
1
|
515
|
POST
|
Thanks for your responses. What I don't get is other layers seem to load fine. And they work in localhost. I am thinking that perhaps they have restricted domain names.
... View more
02-20-2020
12:56 AM
|
0
|
0
|
795
|
POST
|
Thanks for your prompt answer. I've tried importing this layer : public imageLayers: ImageLayer[] = [{ url: 'https://www.coast.noaa.gov/arcgis/rest/services/dc_slr/Flood_Frequency/MapServer', title: 'Coastal Flooding Frequency' }]; Thanks
... View more
02-19-2020
02:33 PM
|
0
|
1
|
795
|
POST
|
Thanks Noah, that's exactly what I wanted to figure out !
... View more
02-19-2020
02:27 PM
|
1
|
0
|
515
|
POST
|
Hey We're using the Arcgis Map on our website with the 4.xx arcgis Javascript library, imported into Angular. Works on most maps but in some cases, while we are trying to load Public maps published by NOAA Office for Coastal Management we are getting a Cors error. Did they voluntarily block external domains from importing their featurelayer? Isn't their map public, so free to import on other maps ? Thanks
... View more
02-19-2020
01:57 PM
|
0
|
7
|
873
|
POST
|
We're using the arcgis-rest-geocoding GEOCoding API, and it is working fine. But I suppose it is metered, while it is not connected to our account, right ? But how to do it ? It is currently working fine the way it is. Thanks !
... View more
02-19-2020
01:48 PM
|
0
|
4
|
566
|
Title | Kudos | Posted |
---|---|---|
1 | 02-19-2020 02:27 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|