Simple RESTful API using Golang
Simple RESTful API to create, read, update and delete books. No database implementation yet
# Install mux router go get -u github.com/gorilla/mux
go build ./go_restapi
GET api/books
GET api/books/{id}
DELETE api/books/{id}
POST api/booksRequest sample
{
"isbn":"4545454",
"title":"Book Three",
"author":{"firstname":"Harry", "lastname":"White"}
}
PUT api/books/{id}Request sample
{
"isbn":"4545454",
"title":"Updated Title",
"author":{"firstname":"Harry", "lastname":"White"}
}
App Info
Author
Brad Traversy Traversy Media
Version
1.0.0
License
This project is licensed under the MIT License