鲸灵开发
  1. auth
鲸灵开发
  • auth
    • 发送邮箱验证码
      POST
    • 注册
      POST
    • 登录
      POST
    • 忘记密码
      POST
  • staticonfig
    • 获取项目类型
      GET
  • project
    • 获取项目列表数据
      GET
    • 新建项目
      POST
  • user
    • 获取用户信息
      GET
  • page
    • 更新页面
      POST
  • page_json
    • 更新json
      POST
  1. auth

发送邮箱验证码

开发中
POST
http://localhost:3173/whaledev/auth/email_code

请求参数

Body 参数application/json
email
string 
邮箱
必需
type
enum<string> 
类型
必需
枚举值:
registerforget
示例
{
    "email":"xxx@qq.com",
    "type": "register"
}

示例代码

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://localhost:3173/whaledev/auth/email_code' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email":"xxx@qq.com",
    "type": "register"
}'

返回响应

🟢201成功
application/json
Body
object {0}
示例
{}
修改于 2024-11-17 04:44:40
下一页
注册
Built with