With the ArcWeb Services implementation of REST, you make direct calls to the API through a Web browser. Create a URL that contains all the mapping criteria you want, and get back a map.
There are three steps involved in getting a REST map:
Obtain a REST authentication token or UserID using the following in your Web browser.
https://www.arcwebservices.com/services/v2006_1/restmap?actn=<getToken OR getUserID>&usr=<username>&pswd=<password>
Replace <getToken OR getUserID> with getToken or getUserID. Replace <username> and <password> with your ArcWeb Services user name and password.
Make a REST map request using the following in your Web browser; you can use HTTPS for added security:
http://www.arcwebservices.com/services/v2006_1/restmap?actn=getMap&<&tkn=ArcWeb Token OR &usrid=ArcWeb usrid>&ds=ArcWeb:TA.Streets.NA&c=-117.1817|34.0556&sf=52500
Replace <&tkn=ArcWeb Token OR &usrid=ArcWebusrid> with &tkn=token generated by your getToken request or &UserID=userID generated by your getUserID request.
This URL represents an example of the required parameters for requesting a map. Every map request must include a token (tkn) or UserID (usrid), data source (ds), center point (c), and scale factor (sf). See the map parameters for details.
Once you have a REST map, you can use additional map parameters to pan and zoom, turn layers on and off, and perform other functions.
Visit the Feedback page to give comments or suggestions about the ArcWeb Developer's Guide.