API 数据采集 — HTTP 接口调用
调用和测试 HTTP/REST API。支持 GET/POST/PUT/DELETE,请求头设置,JSON/XML 响应解析。
api-fetcher 
Express middleware to fetch multiple resources dataset from given API
Installation
$ npm install api-fetcher
Usage
var fetcher = require('api-fetcher');
var express = require('express');
var app = express();
app.get('/resources', fetcher('localhost', 3000));
app.listen(8080);
安装
# 安装到当前项目
npx skills add api-fetcher
# 全局安装
npx skills add api-fetcher -g
来源
- 作者:
Anton Skrynnik - 仓库:https://github.com/antonjuls/api-fetcher
- npm 包:
api-fetcher
安装指南
复制下方命令,在终端运行即可安装:
npx skills add api-fetcher
npx skills add api-fetcher -g
需已安装 GenHub 桌面端
使用指南
安装完成后,在对话框中直接使用此技能。
评论已关闭。