Forked from https://github.com/bradtraversy/go_restapi
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/books
# Request 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