+49 69 83008980 service@xqueue.com

Benötigen Sie Hilfe?

Accept and Content-Type Headers

Sie sind hier:
< Alle Themen

 

Accept Header

The Maileon API returns the results as XML except for the cases where files are requested (html, pdf, image etc …). Each request expecting an XML result must include the following header:

Accept: application/vnd.maileon.api+xml

Requests expecting a file as result must specify the mime type of the file as value of the Accept header. Examples:

Accept: application/pdf
Accept: text/html
Accept: image/jpg

 

Content-Type Header

POST and PUT requests submitted to the Maileon API must contain a Content-Type header with the following value for XML requests:

Content-Type: application/vnd.maileon.api+xml; charset=utf-8

or with the mime type of the file to be uploaded:

Accept: application/pdf
Accept: text/html
Accept: image/jpg

 

Inhaltsverzeichnis