Skip to content

simon-h3/restAPI-books-gin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Example RestAPI endpoints for retrieving / sending a JSON structure.

START:

POST:

curl http://localhost:8080/books
--include
--header "Content-Type: application/json"
--request "POST"
--data '{"title": "book title","author": "author name","release_date": "00.00.00","pages": 1}'

GET:

curl http:\\localhost:8080

About

Barebones REST API Example in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages