Select to view content in your preferred language

How to call a rest service from C# not shared with Everyone

151
2
06-30-2025 10:34 AM
Labels (1)
SanchezNuñez
Frequent Contributor

Good afternoon,

How can I call this rest service from C# when the rest service is not shared with Everyone?

Thanks

https://services.arcgis.com/..../arcgis/rest/services/MyHostedFeatureClass/FeatureServer

 

 

0 Kudos
2 Replies
SanchezNuñez
Frequent Contributor

Good afternoon,

How can I call this rest service from C# when the rest service is not shared with Everyone?

Thanks

https://services.arcgis.com/..../arcgis/rest/services/MyHostedFeatureClass/FeatureServer

 

 

0 Kudos
CodyPatterson
MVP Regular Contributor

Hey @SanchezNuñez 

You may need to call it using a post request or similar with an authenticated token, if it is accessed via token, you should be able to generate and use a token in your script or in a postman request, let me know if you'd like any pointers!

Cody

0 Kudos