I wanna call this this endpoint for retrieve token. By default, the Get method is considered. Can you use Post method? It's work's correctly with Get method. but I don't want pass my information as query string!
http.HandleFunc("/token", func(w http.ResponseWriter, r *http.Request) {
srv.HandleTokenRequest(w, r)
})
this is my endpoint as Post method: http://localhost:9096/token
this is my body parameters:
I wanna call this this endpoint for retrieve token. By default, the
Get
method is considered. Can you usePost
method? It's work's correctly withGet
method. but I don't want pass my information as query string!this is my endpoint as
Post
method:http://localhost:9096/token
this is my body parameters:Thanks for helping :)