Skip to content

shubhamvadhera/hello-world-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

"Hello World" REST API

Simple “Hello World” REST API in Go to understand how handler and Http router work, and how to parse the request and send the response.

  1. GET /hello/xxxx

Response: Hello, xxxx!

  1. POST /hello

Request: { “name”: “foo” }

Response: { “greeting” : “Hello, foo!” }

About

"Hello World” REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages