socialpredict
socialpredict copied to clipboard
Remove method checks from http handlers
The router we use for the server handles http method mismatches: https://github.com/gorilla/mux/blob/db9d1d0073d27a0a2d9a8c1bc52aa0af4374d265/route.go#L58
We do not need to manually check the http methods. Remove these method checks from each of our handler functions.