https://github.com/shazron/cors-test
CORS test via Express.js
https://github.com/shazron/cors-test
cors expressjs
Last synced: 6 months ago
JSON representation
CORS test via Express.js
- Host: GitHub
- URL: https://github.com/shazron/cors-test
- Owner: shazron
- Created: 2020-02-13T06:38:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T18:12:11.000Z (over 3 years ago)
- Last Synced: 2025-02-01T21:14:52.641Z (over 1 year ago)
- Topics: cors, expressjs
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple express server to test CORS.
Adjust the values accordingly in the `index.js/cors` function.
Install then run:
```bash
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.