内容-更新
开发中
POST
https://api.chasing.comfaq/update
请求参数
Body 参数application/json
problem
string
问题
answer
string
答案
type_id
string
分类id
id
string
内容id
sort
string
排序
示例
{
"problem": "string",
"answer": "string",
"type_id": "string",
"id": "string",
"sort": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.chasing.comfaq/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"problem": "string",
"answer": "string",
"type_id": "string",
"id": "string",
"sort": "string"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 200,
"msg": "请求成功",
"data": {
"id": "2"
}
}
修改于 2024-11-20 02:47:21