Skip to content

Add Book

Legan_dary edited this page May 15, 2018 · 6 revisions
POST /api/addBook

Return the new book of the added book.

Parameters

JSON Body Parameters

Field Data Type Description
name String The name of the added book.

Request

POST https://localhost:8080/api/addBook

Response

{
    "status": "success",
    "message": null,
    "data": {
        "book": {
            "name": "GPA",
            "id": "cjfx4leqo",
            "link": "1c85VcE5HSJmFHnk3kPlbCwOpVV1JL6dGvo5ZcMB8WJg",
            "last_modified": "1526212800",
            "created_time": "1482624000"
        }
    }
}
Clone this wiki locally