socialpredict icon indicating copy to clipboard operation
socialpredict copied to clipboard

Remove method checks from http handlers

Open ajlacey opened this issue 5 months ago • 0 comments

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.

ajlacey avatar Sep 15 '24 19:09 ajlacey