EuphoriaCelestial opened a new issue, #27961: URL: https://github.com/apache/superset/issues/27961
### Bug description Hi, as the title said, I am using Superset API to do things like create DB connection, create users, ... The login, get csrf token endpoints is fine, and I am also be able to call GET endpoints like get all DB connection, get all users, ... using the access token and csrf token of successful admin login But when using POST endpoints, like create DB connection, it return 401 error ### How to reproduce the bug 1. Call login and get csrf token endpoint to get access token and csrf token for later use 2. Call /api/v1/database/ endpoint, method POST, to create new connection 3. Get error ### Screenshots/recordings  ### Superset version 3.1.2 ### Python version 3.9 ### Node version 16 ### Browser Firefox ### Additional context _No response_ ### Checklist - [X] I have searched Superset docs and Slack and didn't find a solution to my problem. - [X] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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]
