ducu / cors-proxy

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Python 85.6%Language:Dockerfile 11.7%Language:Procfile 2.7%