Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
/ CORSProxy Public archive

A simple Proxy server which fully bypasses CORS and allow the browser to query any API.

Notifications You must be signed in to change notification settings

IvanJosipovic/CORSProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a simple Proxy server which fully bypasses 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
    1. Default header values (configurable)
      • Access-Control-Allow-Origin = *
      • Access-Control-Allow-Method = *
      • Access-Control-Allow-Headers = *
      • Access-Control-Max-Age = 86400
  1. Adds “Access-Control-Allow-Origin” to all responses

About

A simple Proxy server which fully bypasses CORS and allow the browser to query any API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages