MySQL-REST-Proxy
    • Simple Query
      GET
    • Delete
      DELETE
    • Update
      POST
    • Create
      POST

      Update

      POST
      /{table}

      请求参数

      Path 参数

      Query 参数

      Body 参数application/json

      示例
      {
          "values": {
              "score": "{% mock 'integer',-100,0 %}"
          },
          "conditions": {
              "conjunction": "AND",
              "children": [
                  {
                      "left": {
                          "type": "field",
                          "field": "name"
                      },
                      "op": "equal",
                      "right": "验直分效"
                  }
              ]
          }
      }

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location '/node_test?type=update' \
      --header 'Content-Type: application/json' \
      --data '{
          "values": {
              "score": "{% mock '\''integer'\'',-100,0 %}"
          },
          "conditions": {
              "conjunction": "AND",
              "children": [
                  {
                      "left": {
                          "type": "field",
                          "field": "name"
                      },
                      "op": "equal",
                      "right": "验直分效"
                  }
              ]
          }
      }'

      返回响应

      🟢200成功
      application/json
      Bodyapplication/json

      示例
      {
          "status": 0,
          "msg": "(Rows matched: 1  Changed: 1  Warnings: 0",
          "affected": 1,
          "changed": 1
      }
      修改于 2023-04-15 13:03:19
      上一页
      Delete
      下一页
      Create
      Built with