修改用户信息
开发中
POST
https://api.chasing.comuser/edit_user_detail
请求参数
Body 参数application/json
username
string
昵称
phone
string
手机号
day
string
日
month
string
月
year
string
年
avatar
string
头像
city
string
城市
country
string
国家
示例
{
"username": "string",
"phone": "string",
"day": "string",
"month": "string",
"year": "string",
"avatar": "string",
"city": "string",
"country": "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.comuser/edit_user_detail' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "string",
"phone": "string",
"day": "string",
"month": "string",
"year": "string",
"avatar": "string",
"city": "string",
"country": "string"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 200,
"msg": "success",
"data": true
}
修改于 2024-11-18 07:55:36