Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanjosipovic/corsproxy
A simple Proxy server which fully bypasses CORS and allow the browser to query any API.
https://github.com/ivanjosipovic/corsproxy
bypass cors cors-proxy proxy
Last synced: 3 months ago
JSON representation
A simple Proxy server which fully bypasses CORS and allow the browser to query any API.
- Host: GitHub
- URL: https://github.com/ivanjosipovic/corsproxy
- Owner: IvanJosipovic
- Created: 2019-10-15T02:02:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T09:24:07.000Z (over 2 years ago)
- Last Synced: 2023-03-02T22:11:42.555Z (almost 2 years ago)
- Topics: bypass, cors, cors-proxy, proxy
- Language: C#
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this?
This is a simple Proxy server which fully bypasses [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) and allow the browser to query any API.## Why did I make this?
I found many CORS proxies, however, they simply added “Access-Control-Allow-Origin” to all requests. They did not respond to the CORS preflight requests. Without this, the API calls would fail.## How does it work?
- Responds to [CORS preflight requests](https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request)
1. Default header values (configurable)
- Access-Control-Allow-Origin = *
- Access-Control-Allow-Method = *
- Access-Control-Allow-Headers = *
- Access-Control-Max-Age = 86400
2. Adds “Access-Control-Allow-Origin” to all responses