How from nodejs service in our portal, can I query our non-public feature layers?

500
1
Jump to solution
06-29-2022 05:24 AM
MichaelLev
Occasional Contributor III

How from nodejs service in our portal, can I query our non-public feature layers?

From my javascript code in my nodejs service I tried Rest-Api with token, but apparently the rest-api is blocked in the portal.

I tried rest-js api but apparently I don't know how to enable there by ApiKey or token or username and pw.

Need some example how to define things in the portal and how will the code look like.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MichaelLev
Occasional Contributor III

Finally I solved it!

I used rest-api, I used a portal token, and I gave the right parameters in the url

View solution in original post

0 Kudos
1 Reply
MichaelLev
Occasional Contributor III

Finally I solved it!

I used rest-api, I used a portal token, and I gave the right parameters in the url

0 Kudos