1 Star 0 Fork 86

Magic-Neko/httpclient

forked from OpenHarmony-TPC/httpclient
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

node service

一个本地服务,为httpclient提供一些http接口,用于在demo和xts中验证库功能。

运行示例

安装node

安装依赖

在HttpServe目录下执行 npm i

运行服务器


在HttpServe目录下执行 npm run start

访问主页

在chrome浏览器中输入http://localhost:4000访问主页(localhost需要切换服务器ip或者本地电脑ip)。

注意:服务需要和设备在同一局域网内

接口:

接口URL 参数 请求方式
http://localhost:4000/tpc/post id: string post
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nyayuumi/httpclient.git
git@gitee.com:nyayuumi/httpclient.git
nyayuumi
httpclient
httpclient
master

搜索帮助