work3
    • /health
      GET
    • /students
      GET
    • /students
      POST
    • /students/{id}
      GET
    • /students/{id}
      PUT
    • /students/{id}
      DELETE

      /students/{id}

      开发中
      PUT
      /students/{id}

      请求参数

      Path 参数

      Body 参数application/json必填

      示例
      {
          "name": "xkm",
          "email": "changed@xkm.be",
          "age": 20
      }

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request PUT '/students/1' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "name": "xkm",
          "email": "changed@xkm.be",
          "age": 20
      }'

      返回响应

      🟢200成功
      application/json
      Bodyapplication/json

      示例
      {
          "code": 0,
          "message": "string",
          "data": {
              "id": 0,
              "name": "string",
              "age": 0,
              "email": "string",
              "created_at": "string",
              "updated_at": "string"
          }
      }
      修改于 2025-11-12 11:59:30
      上一页
      /students/{id}
      下一页
      /students/{id}
      Built with