-
Disclaimer: I have looked around for a solution for this and I could not find anyone else having this problem so I might be missing something fundamental. I could make actix_cors work in my server (actix_web = "4.2.1" , actix_cors = "0.6.2"). No errors are thrown at runtime when starting the application but whenever I make an OPTIONS request to a registered endpoint I keep getting a 404 response. After several attempts to fix this, I found your reference application ( Working POST request: Let me know if you need more info, thanks. Alvaro |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to send the request with an Origin header. This is what activates the CORS protocol. |
Beta Was this translation helpful? Give feedback.
You need to send the request with an Origin header. This is what activates the CORS protocol.