From c7768652ed63e408e19c7e68d2ab8e78c70da94f Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sun, 2 May 2021 19:50:39 +0530 Subject: defined (working) api route to register a new client/person --- server/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'server/main.go') diff --git a/server/main.go b/server/main.go index 1740ac6..49d8c45 100644 --- a/server/main.go +++ b/server/main.go @@ -41,6 +41,7 @@ func main() { // people API routes people.GET("/", getAllPeople) + people.POST("/", registerPerson) myRouter.Run(":8080") } -- cgit v1.2.3