You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the open-source version, yeah. Developing a service in Nodejs that sends POST requests to the sql-api with axios module. The api denies the request due to CORS violation, while the api allow CORS with a middleware written in the api.
I'm familiar with the CORS module so I changed it, and the POST requests work.
The sql-router can't get POST requests from Axios because of CORS denial.
Using the cors module via "require("cors")" works fine.
The text was updated successfully, but these errors were encountered: