How to fix CORS Policy block error?

so im building a safelink generator website and for some reason the CORS Policy blocked all of my requests. Any solution?
(btw i use php and i checked all of the api that i made, it work perfectly fine)

Take note

All requests need to be from the same domain

7 Likes

thank you so much, so i have one question left
can i use some kind of api proxy to bypass cors?

You can try.
No guarantee it will work though.
Be sure to check out the terms of service

6 Likes

ok thanks for spend some time to help me. Have a great day!

Probably not. The security system that @KangJL linked to will also prevent that proxy from working.

8 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.