Developer Documentation Library > Interviewer - Server > Architecture > Interview Service tier > Quota web service > Common request header fields
 
Common request header fields
These request headers are used by all URLs of the UserAuth and Quota web services.
Accept
The Accept header variable controls the format of the data returned from any URL: the format can be either XML or JSON. The default serialization of ASP.NET Web API is used, which means the following MIME type to formatter mappings are used:
JSON
application/json
text/json
XML
application/xml
text/xml
Also, if the “X-Requested-With” header variable is present with a valid of “XMLHttpRequest”, this maps to application/json. This is also the default behaviour of Web API.
Content-Type
For any request that includes a request body, i.e. a PATCH request, the Content-Type header variable must be included to explicitly specify the format of the request body. The Content-Type header supports the same MIME types as Accept.
See also
Quota web service