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
{{ message }}
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.
When sending requests of application/json content type , the browser will first do a CORS preflight check and send an OPTION request. Because in the source code currently only POST cappucino routes are set, the OPTION requests are returning 405 errors.
This can be fixed in two ways:
define cappucino OPTION routes
don't send the post requests in application/json content type (maybe an axion library setting)
The text was updated successfully, but these errors were encountered:
Currently API post requests are failing.
When sending requests of application/json content type , the browser will first do a CORS preflight check and send an OPTION request. Because in the source code currently only POST cappucino routes are set, the OPTION requests are returning 405 errors.
This can be fixed in two ways:
The text was updated successfully, but these errors were encountered: