You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2017/12/06 10:08:40 UTC

[GitHub] AnithaMurugesan opened a new issue #4018: How to create datasources and tables using curl ?

AnithaMurugesan opened a new issue #4018: How to create datasources and tables using curl ?
URL: https://github.com/apache/incubator-superset/issues/4018
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if any
   - [ ] I have reproduced the issue with at least the latest released version of superset
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar
   
   
   ### Superset version
   0.20.6
   
   ### Expected results
   Creating datasources and tables using curl.
   
   ### Actual results
   I have tried with the following.
   What are the datas to be passed here?
   curl -H "Content-Type: application/json" -X POST -d '{ ? }' http://localhost:8088/tablemodelview/api/create
   
   I got this error:
   {
     "message": "Access is Denied", 
     "severity": "danger"
   }
   
   Also in logs:
   "POST /tablemodelview/api/create HTTP/1.1" 401 -
   
   ### Steps to reproduce
   What is the api endpoint for creating datasources and tables??
   What are the datas to be passed along with curl?
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services