Authorization
header of the request. We use the HTTP Basic Auth protocol, which encodes the string using Base64 encoding, in order to avoid problems with non-word characters in passwords. :
) and base64 encode the resulting string. For example, using standard Unix command line tools: data
parameter: 401 Unauthorized
and a JSON snippet with an error message: 403 Forbidden
and an unhelpful snippet of XML: