The following table lists the mandatory and optional HTTP headers you submit with each request.
| Header | Value | Description | Required |
|---|---|---|---|
| Authorization | Basic [Base64 encoded "username:password"] | See Authenticating to the Teradata System. | Yes |
| Accept | application/vnd.com.teradata.rest- v1.0+json | Instructs the web service that the client wants to use the 1.0 version of the REST API for the Teradata Database. The header supports backward compatibility if the REST API ever changes. | Yes |
| Accept- Encoding | gzip | Instructs the web service to compress the response in GZIP format. If omitted, the response is returned as plain text. | No |
| Content- Type | application/json | Instructs the web service that the request contains JSON data. | Yes |