Handling request methods: Golang http library
Handling request methods in Golang's net/http library isn't as intuitive as you'd expect.
In the request, library there's a Method field that allows you to see what method a request uses.
func hello(w http.ResponseWriter, req *http.Request) {
fmt.F...
ghoulkingr.hashnode.dev1 min read