(mt):API HTTP headers

  • This page was last modified on February 17, 2011, at 14:16.
The (mt) Community Wiki is a collaborative project. Any (mt) Media Temple customer or employee may contribute. Not all articles and/or content have been tested for accuracy by (mt) Media Temple.

For officially moderated and tested articles, be sure to visit our KnowledgeBase.

From (mt) Community Wiki

The (mt) Media Temple Public API provides several HTTP headers that can be used across resource requests to perform common operations.

HTTP headers

The following is a list of HTTP headers that are globally available across resource requests:

Param Description Default Example
Authorization Used to specify the API key used to authenticate requests. See API Query parameters also. "Authorization: MediaTemple FbDgBldQMoKLwIXsBwq..."
Accept Used to specify the desired content type of the response data HTTP/REST client dependent "Accept: application/json"
Content-type Used to specify the content type of the request data. See API Content Types also. HTTP/REST client dependent "Content-type: application/json"