This documentation is DEPRECATED and provided for legacy purposes only. Please use the updated documentation at www.amee.com/developer .

AMEE API / Media Types

AMEE is sensitive to  media types. The client ‘Accept’ header is inspected and the appropriate response generated.

The following media types are supported for response representations:

  • text/html
  • application/json
  • application/xml

The client request needs to specify either ‘application/json’ or ‘application/xml’ as the ‘Accept’ header to request these types of representations. ‘text/html’ is the default type.

In future iterations of AMEE it will also be important to specify the 'Content-Type' header of the request itself in order to send XML or JSON representations to AMEE.