Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to publish datasource using rest api in POSTMAN #82

Open
PriyaTableau opened this issue Nov 14, 2023 · 1 comment
Open

Not able to publish datasource using rest api in POSTMAN #82

PriyaTableau opened this issue Nov 14, 2023 · 1 comment

Comments

@PriyaTableau
Copy link

Bad Request Content type 'multipart/form-data;boundary=--------------------------786089860316126180435400' not supported
@dzucker-tab
Copy link
Contributor

Postman does not support multi-part mime. We have raised the issue with them, but no luck so far.

Recommend you use cURL. Here is the example from https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_publishing.htm#publish_data_source

curl "http://MY_SERVER/api/3.4/sites/ff2a8360-3c2b-4b05-a793-7607c602e1fb/datasources" -X POST -H "X-Tableau-Auth:6fSulU7ET8yjpHteQj56MQ|LrkEdTHcmPkWFcD8wOEy29hlVXm8iPo4" -H "Content-Type: multipart/mixed;" -F "[email protected]" -F "[email protected]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants