Authorization

You will need to specify an Authorization token when making API requests. See Authorization for details on how to obtain one.

curl -H 'Accept: application/vnd.textus+jsonld'

Accept Header

The TextUs API uses a custom mime type. When making requests you must specify an Accept header with a value of application/vnd.textus+jsonld. In cURL that would look like:

curl -H 'Accept: application/vnd.textus+jsonld'

Content-Type Header

For requests that require a body, you must also provide the Content-Type header. In cURL that would look like:

curl -H 'Content-Type: application/vnd.textus+jsonld'

© 2024 TextUs