This repository is intended to serve as a basic, introductory tutorial on using REST enpoints, using the Esri ArcGIS Server REST API as an example (although other browsable RESTful services could also be referenced). It is NOT intended to be a comprehensive overview of Esri's REST API, AJAX requests, or Javascript. The intended audience is beginner to mid-level web programmers.
- Explain how a REST endpoint can be explored using a browser, including how links can open services and layers in Javascript or other clients like ArcGIS Desktop or AGOL. (Link to Esri help and training)
- Demonstrate constructing basic text queries against layers using the built-in HTML forms
- Demonstrate a point-in-poly javascript query, using a Leaflet map that can be dragged around (but not zoomed) within the bounds of an Esri service.
- Demonstrate ways to obtain geoJSON from AGOL services or with translators
Stable for now. File an issue if you see a problem. Thanks!
2022-10-24: Updating links, and pointers to Esri sample servers to newer more stable resources. Also updated instructions to better match newer endpoints.