- BlogController
- FileController
- UserController
- LoginController
- 未命名接口GET
添加用户
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
http://dev-cn.your-api-server.com
最后修改时间:2024-01-02 09:31:37
责任人:未设置
请求参数
Body 参数application/json
id
integer | null
可选
name
string | null
用户名
phone
string | null
手机号
password
string | null
密码
email
string | null
邮箱
deleted
boolean | null
是否删除
createTime
string | null
创建时间
updateTime
string | null
更新时间
createBy
string | null
创建人
updateBy
string | null
更新人
示例
{
"id": 0,
"name": "string",
"phone": "string",
"password": "string",
"email": "string",
"deleted": true,
"createTime": "string",
"updateTime": "string",
"createBy": "string",
"updateBy": "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 'http://dev-cn.your-api-server.com/user' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"phone": "string",
"password": "string",
"email": "string",
"deleted": true,
"createTime": "string",
"updateTime": "string",
"createBy": "string",
"updateBy": "string"
}'
返回响应
🟢200成功
application/json
Body
int
code
integer | null
可选
message
string | null
可选
data
null | null
可选
示例
{
"code": 0,
"message": "",
"data": null
}