---
schema_version: "1"
id: c5be1fe0cf3132e877c891d2bc31bdabf890cdf0829dcd19ca5ba89cd935412f
title: cURL Example
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/explore-tableau/docs/example-curl.md
canonical_url: https://help.tableau.com/current/api/explore-tableau/en-us/docs/example-curl.html
source_site: help.tableau.com
content_type: documentation
content_hash: bc9acc2d8eaf8a9e98947e31187340c53d7565379ba5efe5125b8f3daea7a833
description: Documentation for the Explore in Tableau API
---
# cURL Example

  

The cURL example below sends a request to the API gateway. Note that JWT generation is not included in this script. The JWT needs to be generated less than 5 seconds before it’s used for this authorization.

Replace:

- `<REGION>` with the Salesforce region
- `<BASE64_URLENCODED_TDS>` with the base64 URL encoded TDS

The JWT and URL used below are examples. Yours will be different, and the URL will depend on the data provider string you’re assigned.

```
curl \
--header 'Authorization: C2C:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJleGFtcGxlLmNvbSIsInN1YiI6IkV4YW1wbGUgSldUIiwiaWF0IjoxNzM0NzU3NTIxfQ.cg7nXc6vtmqBXM1E_H0UZ2bW7qajFmIctfHS-j0B1PA' \
--header 'x-salesforce-region: <REGION>' \
--header 'Content-Type: application/json' \
--data '{"tdsContent":"<BASE64_URLENCODED_TDS>"}' \
https://api.salesforce.com/analytics/integration/explore-in-tableau/v1/upload-tds-content/example
```