12.07.2015 Views

Reference guide - Melissa Data

Reference guide - Melissa Data

Reference guide - Melissa Data

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Reference</strong> GuideProtocolsProtocolsThe Web Service supports the following protocols all using HTTP:• POST request using XML or JSON with XML or JSON response:An HTTP POST is issued with the "ContentType" header specifying the format ofthe request and the "Accept" header specifying the format of the response. Thedefault for both request and response is "application/xml".• SOAP request/response:Same as the traditional SOAP requests used by other <strong>Melissa</strong> <strong>Data</strong> Web services.• GET request with querystring - XML/JSON response:Similar to traditional REST requests used by other <strong>Melissa</strong> <strong>Data</strong> web services in thatthe parameters are put into the querystring for the request. However, the responseformat 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 therequest (with the leading "?" removed) and the POST verb is used instead of theGET verb. Typically used when submitting forms in HTML.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!