簡單的 RESTful API in PHP

    版本為 23:28, 26 Dec 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    檔案列表

    • db.sql
      用來建立示範的 Table
    • confi.php
      資料庫連接,測試資料庫為 mytest。
    • signup.php
      用來示範 POST method,新增一筆記錄。
    • info.php
      用來示範 GET method,取出一筆記錄。
    • status.php
      用來示範 PUT method,更新一筆記錄。

    Advanced REST client (Chrome Extension)

    1.  

    檔案內容

    db.sql:

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)

    confi.php:

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)

    signup.php:

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)

    info.php:

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)

    status.php:

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)
    Powered by MindTouch Core