Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shazron/cors-test
CORS test via Express.js
https://github.com/shazron/cors-test
cors expressjs
Last synced: about 1 month 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T18:12:11.000Z (almost 2 years ago)
- Last Synced: 2024-10-02T09:46:01.319Z (about 1 month 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.