Simple go server demonstrating How to accept a body in GET request
- Run the server.
go run main.go
- Send the HTTP Request
curl -X GET "http://localhost:3000/api?key=value" \
-H "Content-Type: application/json" \
-d '{"users": [{"name": "", "Email": "email"}, {"name": "", "Email": "email"}] }'