AnithaMurugesan commented on issue #4018: How to create datasources and tables 
using curl ?
URL: 
https://github.com/apache/incubator-superset/issues/4018#issuecomment-349902648
 
 
   Also I am using REMOTE_USER authentication type.
   So there is no password for the users.
   Can remote user access this endpoint ?? - /tablemodelview/api/create
   I have tried with the following curl also:
   curl -i -H 'Authorization: Basic XXX' -H "Content-type: application/json" -X 
POST --data '{"database_id" : "2" , "schema" : "public" , "table_name" : "aa"}' 
http://localhost:8088/tablemodelview/api/create
   
   Error:
   < HTTP/1.0 401 UNAUTHORIZED
   {
     "message": "Access is Denied", 
     "severity": "danger"
   }

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to