If you are unfamiliar with ArcGIS Server services, a good place to start is the Approaches for publishing services with ArcGIS in the ArcGIS Server Help.
- The Services Directory and the REST API: This topic introduces Services Directory, which provides an easy way to generate URL's for referencing services.
- Working with secure ArcGIS services: At times you will need to work with secure services. This topic provides information about how to properly connect to these services.
- Using the proxy page: A proxy page is necessary if your URL becomes too long and you must use a POST instead of a GET. The proxy page is also necessary when you do not want users to view a token used with secure services. This topic covers how to set up the proxy page.