How to download workbook data using REST API?
Hi everyone.
According to the Datameer REST API reference, to download data from workbook (7.x) you have to use the next URI syntax:
curl -u <username>:<password> -X GET 'http://<Datameer-serverIP>:<port-number>/rest/data/workbook/{configuration-id}/{sheet-name}/download
I have been trying with the online demo, with the next URI:
https://online-demo.datameer.com/rest/data/workbook/809/Bank_data/download
And datameer present me the message below:
We are sorry. The session is invalid or has timed out.
The current action was aborted, you have to start again.
What I am doing wrong?
Here the API reference to download data from workbook.
Best,
Ramiro.
-
Hello Ramiro.
I've just tried to download this data from my machine, using my credentials to https://online-demo.datameer.com, via below REST call and got the record in response.
curl -u '<username>:<password>' -X GET 'https://online-demo.datameer.com/rest/data/workbook/809/Bank_data/download'
What exactly REST call have you tried and what tool you've used to execute it?
If you simply tried to open the URL https://online-demo.datameer.com/rest/data/workbook/809/Bank_data/download in your browser and got the error, I would recommend to clear browser cache, restart it, login into https://online-demo.datameer.com and then try to load this URL again.
Please sign in to leave a comment.
Comments
3 comments