<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Python MarlinReST API 服務(wù)器

          聯(lián)合創(chuàng)作 · 2023-09-30 20:41

          Marlin 是 Redis 上快速簡單的 ReST API 服務(wù)器。

          快速開始:

          pip install marlin  # install marlin to the python environment.
          marlin-server start  # start marlin server - port: 5000

          請求方法:

          METHOD URL RESPONSE DESCRIPTION
          GET /api/v1/[model]?start=1&end=10 [data] 1-10 returns the 1-10 elements in the [model]
          GET /api/v1/[model]/1 data item returns the element with id 1
          GET /ping/ 200/500 check if service is up and connected
          POST /api/v1/[model]/ [data] adds data to the model
          PUT /api/v1/[model]/1/ [data] edit data
          DELETE /api/v1/[model]/1 200 delete the data item
          DELETE /api/v1/[model]/ - delete complete data in model
          DELETE /api/v1/[model]?force=1 - delete and reset model (starts with id=1

           

          瀏覽 25
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評論
          圖片
          表情
          推薦
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  亚洲 无码 在线 播放 | 91亚洲国产成人精品一区 | 天天日天天看 | 天天操天天好逼网 | 永久成人无码: |