Go 1.22 router calls the wrong method
I am trying to use the new go net/http feature of specifying the Method inside the handlefunc of my Servemux. However when I try to call the POST endpoint it executes the function on my GET endpoint.
net/http vs gin for APIs?
What is the current state of net/http
for developing REST APIs? Is it worth creating a new project using only net/http
, or is it better to use frameworks like Gin or others? I want to develop a simple CRUD microservice. Could you share your experience?