Skip to main content Link Search Menu Expand Document (external link)

Updated Mon Oct 3rd 2022, 21:22 UTC

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'

© 2022 TextUs