- v2.5
- 平台接口
- 项目管理
- 应用管理
- 资源管理
- 用户权限管理
- v3.0
- 平台接口
- 项目管理
- 应用管理
- 资源管理(v3)
- 用户权限管理
- 111GET
数据处理mysql Copy
POST
/api/senHttp
请求参数
Header 参数
token
string
必需
Body 参数application/json
sendType
string
必需
DataInfo
object
必需
url
string
必需
type
string
必需
rootId
string
必需
sendParams
object
必需
header
object
必需
message
string
必需
javascript
string
必需
示例
{
"sendType": "text",
"DataInfo": {
"url": "",
"type": "POST",
"rootId": "root05",
"sendParams": {
"host": "127.0.0.1",
"post": "5236",
"user": "SYSDBA",
"password": "SYSDBA",
"database": "DEMO",
"table": "USER"
},
"header": {
"Content-Type": "application/x-www-form-urlencoded"
},
"message": "wu",
"javascript": "function sam(){}xxx"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/senHttp' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"sendType": "text",
"DataInfo": {
"url": "",
"type": "POST",
"rootId": "root05",
"sendParams": {
"host": "127.0.0.1",
"post": "5236",
"user": "SYSDBA",
"password": "SYSDBA",
"database": "DEMO",
"table": "USER"
},
"header": {
"Content-Type": "application/x-www-form-urlencoded"
},
"message": "wu",
"javascript": "function sam(){}xxx"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2022-09-20 01:52:41