Skip to content

A Flask-based proxy adding Access-Control-Allow-Origin=* to all responses.

Notifications You must be signed in to change notification settings

adriangigante/cors-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cors-proxy

A Flask-based proxy adding Access-Control-Allow-Origin=* to all responses.

Usage: Start the proxy with $ python3 server.py. You can then access http://127.0.0.1:5000/<URL> for any URL and any HTTP method. The response content and return code will be forwarded.

Example: Access https://jsonplaceholder.typicode.com/posts with http://127.0.0.1:5000/https://jsonplaceholder.typicode.com/posts.

Docker

docker run -p 8080:8080 --name cors-proxy cors-proxy

About

A Flask-based proxy adding Access-Control-Allow-Origin=* to all responses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.9%
  • Dockerfile 8.1%