Appearance
The API currently supports JSON and XML formats. Format defaults to JSON, but can be specified in one of three ways, in the following priority order:
- file-type media extension indicator
- url query string
- HTTP Accept header
Examples
http
/punches.jsonhttp
/punches.xmlhttp
?format=jsonhttp
?format=xmlhttp
Accept: application/jsonhttp
Accept: application/xml