Cloud Service V4:Protocols

From Melissa Data Wiki
Jump to navigation Jump to search

Melissa Data Cloud Services support the following protocols, all using HTTP:


POST request using JSON with an XML or JSON response

An HTTP POST is issued with the "ContentType" header specifying the format of the request and the "Accept" header specifying the format of the response. The default for both request and response is "application/json".

GET request with querystring - JSON response

Similar to traditional REST requests used by other Melissa Data web services in that the parameters are put into the querystring for the request. However, the response format can be controlled via the "Accept" header (default is "application/json").

POST request with "ContentType=application/x-www-form-urlencoded"

Similar to the GET request above, but the querystring is put into the body of the request (with the leading "?" removed) and the POST verb is used instead of the GET verb. Typically used when submitting forms in HTML.