Skip to content

yuhexiong/cors-test-request-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CORS Test Request

(also provided Traditional Chinese version document README-CH.md.)

A simple frontend browser for testing whether backend services have CORS enabled.

Overview

  • Packages: npm v10.8.1

Run

Modify the API variable in the code to the endpoint you want to test.

Install Module

npm install -g http-server

Run

http-server -p 8080

The service will run on localhost:8000.

UI

  • Frontend Interface
    ui

  • Success Response
    success

  • Failed Response
    failed

Releases

No releases published

Packages

No packages published