5 Replies Latest reply on Oct 19, 2018 12:16 PM by nilesh.patil.2

    CURL Command Tableau Rest API

    nilesh.patil.2

      I am trying to execute below CURL command related to "Download Workbook" end point of Tableau Rest API. I am basically trying to download particular workbook and save it locally to some directory. curl "http://MY-SERVER/api/2.6/sites/9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d/workbooks/1a1b1c1d-2e2f-2a2b-3c3d-3e3f4a4b4c4d/content" -X GET -H "X-Tableau-Auth:12ab34cd56ef78ab90cd12ef34ab56cd" > M:\Tableau\Tag%20Periodical.twbx But the CURL command gives below warning message Curl: (60) SSL certificate problem: unable to get local issuer certificate Can someone please confirm if similar implementation is done? Downloading Tableau workbook and saving to particular shared location? To resolve above error related to SSL cerificate problem, added curl --insecure command then dont see any error. I see below   % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current                                 Dload  Upload  Total  Spent    Left  Speed 100  249k  100  249k    0    0  212k      0  0:00:01  0:00:01 --:--:--  212k But can't see particular workbook made available in given location like M:\Tableau. When i remove this "> M:\Tableau\Tag%20Periodical.twbx" part from the script then workbook xml is displayed on command line. Can someone please provide directions in resolving this issue? I hope there should not be any issue with file size etc. P.S. Tableau server version :- 10.3