You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an endpoint in my API which will be called using a webhook.
webhook signs the request and then my API must verify at first. but go-swagger converts the body to object and it can cause
request json fields re-ordered, so the verification of sign will be failed because the received request is not equal to actual one.
how can I read the raw body of request in my handler? I have tried to access params.HTTPRequest.Body , however it says body is closed and panics.
Environment
swagger version: v0.27.0
go version: 1.17.01
OS: ubuntu20.04