siddhartha8916 commented on issue #25876:
URL: https://github.com/apache/superset/issues/25876#issuecomment-1817426632

   Hit a GET request to /login endpoint. There you'll get the html document 
containing csrf_token as a hidden input field.
   extract the csrf_token and save it in a variable.
   
   Then make a POST request to /login endpoint with body as FormData containing 
the csrf_token, username, and password.
   Then make a third request to /me route. 
   
   Hope this works...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to