HOW TO

Send a REST request using the HTTP POST method

Last Published: April 25, 2020

Summary

This article includes information on how to send a REST request using the HTTP POST method.

Procedure

To send an HTTP POST request, keep the name of the HTML element the same as the REST parameter name.

For example:

Code:
<INPUT TYPE="textbox" NAME="c" value="-117|34">

In this example, a textbox with the name 'c' corresponds to the Center Point Parameter 'c', and its value '-117|34' corresponds to value of the parameter c.

Note:
This element should be contained in an HTML Form Element and the HTML Form Element should have an action pointing to "<http://www.arcwebservices.com/services/v2006_1/restmap>?"

Article ID:000008291

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic