CorsProxy.io is a simple and free way to fix any CORS related error!
The problem
Most developers have encountered this error before:
Access to XMLHttpRequest at 'https://api.domain.com' from origin 'http://localhost:8100' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
CORS is a necessary security measure, but it can be frustrating when it blocks requests that you need to make for your application to function properly. With CorsProxy.io you can bypass this error by adding https://corsproxy.io/? in front of the api endpont.
Features
- 100% free
- 99% uptime
- Global CDN
- No log policy
- GDPR compliant
Try it:
Simply add https://corsproxy.io/? in front of the api endpont and fix any cors related error!
Example: https://corsproxy.io/?https%3A%2F%2Fjsonplaceholder.typicode.com%2Ftodos%2F1
If you have questions and suggestions feel free to contact me or write an comment.
Best Regards
Marius Bolik (Ionic Developer Expert)
1 post - 1 participant
