Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] CORS #86

Open
3 tasks done
hectordufau opened this issue Dec 11, 2023 · 0 comments
Open
3 tasks done

[QUESTION] CORS #86

hectordufau opened this issue Dec 11, 2023 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@hectordufau
Copy link

New question checklist

Question

Guys, I had installed a truemail on a GCP CloudRun. It runs and answer right when I send requests using Insomnia (like Postman).

However, when I send calls from my web application I receive a CORS block message:

Access to XMLHttpRequest at 'https://truemail.XXXXXX/?email=XXXXXX' from origin 'http://XXXXXX' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

My ajax request uses 'crossDomain' parameter and headers 'Access-Control-Allow-Origin': '*', but I guess I need to enable CORS requests in TrueMail.

Would you like to help me?

@hectordufau hectordufau added the question Further information is requested label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants