Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

POST JS WITH PYTHON TO BYPASS CORS

sudo pip3 install Flask flask-cors --user

pip3 install Flask flask-cors --user

1 upload index.html + data.js to /var/www/html/target_folder/

2 run python3 server.py

3 open firefox + F12(network/console):

4 open : http://localhost/target_folder/index.html and click send (watch console)

alt text

alt text