Cloud Service:Protocols

From Melissa Data Wiki
Revision as of 01:03, 19 September 2014 by Admin (talk | contribs) (Created page with "The Web Service supports the following protocols all using HTTP: ==Protocols== ===POST request using XML or JSON with XML or JSON response=== An HTTP POST is issued with the ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Web Service supports the following protocols all using HTTP:

Protocols

POST request using XML or JSON with 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/xml".

SOAP request/response

Same as the traditional SOAP requests used by other Melissa Data Web services.

GET request with querystring - XML/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/xml").

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.