i didn't found any answer for this issue . I am trying to call simple API, but it redirecting request 307 . and the request fail on client side . as you see in the first screen shot there is 3 requests . first one is option with Status C...
// RouteInfo represents a request route's specification which contains method and path and its handler.type RouteInfo struct { Method string Path string Handler string HandlerFunc HandlerFunc } // RoutesInfo defines a RouteInfo slice....
// RouteInfo represents a request route's specification which contains method and path and its handler.type RouteInfo struct { Method string Path string Handler string HandlerFunc HandlerFunc } // RoutesInfo defines a RouteInfo slice....
[GIN-debug] Listening and serving HTTP on :8080 [GIN-debug] redirecting request 307: /checkReservations/ --> /checkReservations/ 2022/06/20 20:31:59 Respondiendo al cliente ::1 Body: ERRO[2022-06-20 20:31:59.6768] error parser body CheckReservations MBH EOF bodySchema {} Environment go ...
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. - gin/gin.go at master · gin-gonic/gin
// and 307 for all other request methods.RedirectTrailingSlash bool // RedirectFixedPath if enabled, the router tries to fix the current request path, if no // handle is registered for it.// First superfluous path elements like ../ or // are removed./...