Skip to content

thenglong/simple-go-book-rest-no-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(GET) Get All Books

https://book-rest-api-go.herokuapp.com/books

(GET) Get Single Book By ID

https://book-rest-api-go.herokuapp.com/books/2

(POST) Create Book

https://book-rest-api-go.herokuapp.com/books

{
  "title": "New Book",
  "author": "New Author",
  "language": "English",
  "total_pages": 209,
  "image_path": "",
  "wikipedia_link": "",
  "country": "Cambodia"
}

(PUT) Update Book By ID

https://book-rest-api-go.herokuapp.com/books/2

{
  "title": "Updated Book",
  "author": "Updated Author",
  "language": "English",
  "total_pages": 209,
  "image_path": "",
  "wikipedia_link": "",
  "country": "Cambodia"
}

(DELETE) Delete Book By ID

https://book-rest-api-go.herokuapp.com/books/2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages