shazron / cors-test

CORS test via Express.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple express server to test CORS.

Adjust the values accordingly in the index.js/cors function.

Install then run:

npm install
npm start

Runs an express server on port 8000.

To test, go to: https://shazron.github.io/cors-test

... which will attempt to POST to your local server. The source code for it is in the docs sub-folder.

About

CORS test via Express.js


Languages

Language:JavaScript 67.2%Language:Pug 32.8%