CORS Anywhere Function

Last updated on Wednesday, August 12th, 2020 @ 10:52PM.

Having the ability to fetch data regardless of the origin is something that developers often want. Fortunately for you I have a function that you can use to easily do this:

IMPORTANT!

Since this is essentially a public proxy created by another developer it would probably be best not to request any sensitive data by using this function. If you still want to use the function but have access to another more secure proxy than feel free to modify the code and make it your own.

Let me know what you think and as always, happy coding! 😎