Select to view content in your preferred language

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

606
1
Jump to solution
06-29-2022 05:24 AM
Labels (2)
MichaelLev
Regular Contributor

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
Regular Contributor

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
Regular Contributor

Finally I solved it!

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

0 Kudos