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
I'm trying to setup few API routes in my nuxt project with nuxt hub for my students to interact with through a Python script.
I've spent like 2 hours on CORS issues and it's driving me nuts.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://..... (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://...... (Reason: CORS request did not succeed). Status code: (null).
The python script runs from a browser running pyodide.
Can you please explain me what I'm doing wrong ? The documentation is not very helpful unfortunately, and CORS issues keep bullying me since like 15 years, everytime I think I understand the thing there's more issues I don't understand 😢
Thanks a lot ! And huge thanks for your amazing work, you guys are so amazing !!
URLs
No response
Additional information
Would you be willing to help?
The text was updated successfully, but these errors were encountered:
Describe the change
Hello !
I'm trying to setup few API routes in my nuxt project with nuxt hub for my students to interact with through a Python script.
I've spent like 2 hours on CORS issues and it's driving me nuts.
When I set the headers option, I have CORS issues and I can't to the request.
I think I tried everything :
I keep getting the same error again and again.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://..... (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://...... (Reason: CORS request did not succeed). Status code: (null).
The python script runs from a browser running pyodide.
Can you please explain me what I'm doing wrong ? The documentation is not very helpful unfortunately, and CORS issues keep bullying me since like 15 years, everytime I think I understand the thing there's more issues I don't understand 😢
Thanks a lot ! And huge thanks for your amazing work, you guys are so amazing !!
URLs
No response
Additional information
The text was updated successfully, but these errors were encountered: