请求与响应
变量
{
"schema": [
{ "type": "string", "name": "api_key", "title": "API Key", "default": "", "required": true, "message": "Required an API Key" },
],
"request": {
"method": "http_post",
"url": "http://127.0.01/?key=$API_KEY"
"options": {
"headers": {
"Authorization": "Bearer $API_KEY",
"Content-Type": "application/json"
}
}
}
}参数
方法: 字符串
字符串初始网址: 字符串 (可选)
字符串 (可选)url: 字符串
字符串encodeURI: 布尔值 (可选)
布尔值 (可选)encodeURIComponent: 布尔值 (可选)
布尔值 (可选)encodeURIExtra: 字符串 (可选)
字符串 (可选)userAgent: 字符串 (可选)
字符串 (可选)querySelector: 字符串
字符串querySelectorAll: 字符串 (可选)
字符串 (可选)queryProperty: 字符串
字符串body: 对象
对象options: 对象 (可选)
对象 (可选)responseType: 字符串
字符串responseQuery: 字符串
字符串从 HTTP 请求解析 JSON 响应
responseQuery
结果
示例
1. 网页抓取方法

必需参数
2. HTTP GET 方法

必需参数
3. HTTP POST 方法
