An open API service indexing awesome lists of open source software.

https://github.com/yuhexiong/cors-test-request-javascript


https://github.com/yuhexiong/cors-test-request-javascript

cors cors-request frontend javascript requests

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# CORS Test Request

用來測試後端服務是否開啟 CORS 的簡易前端瀏覽器。

## Overview
- Packages: npm v10.8.1

## Run

在程式內修改 `API` 成你想要測試的

### Install Module
```bash
npm install -g http-server
```

### Run
```bash
http-server -p 8080
```

服務運行在 `localhost:8000`

## UI

- 前端網頁
![ui](ui.png)

- 成功
![success](success.png)
- 失敗
![failed](failed.png)