Making Requests using HTTP
The Geo Addressing SDK supports both JSON and XML payload formats for HTTP requests and responses. The format is determined by HTTP headers. Clients use the Accept header to specify the desired response format and can use the Content-Type header to indicate the MIME type of the request body.
All major Global Geocoding services—including Geocode, Reverse Geocode, Interactive Geocode, Key Lookup, Capabilities, and Dictionaries—support both GET and POST HTTP methods. GET requests allow a limited set of preferences, while POST requests can include the full range of options.
Server responses always include an HTTP status code and a Content-Type header, which indicate the result and the format of the response.