i trying to write a custom middleware, and i want to make sure the record’s ID truly existed, i have to get the record’s id from requests body data.
and i found a problem,
Context.Bind only can bind once, after the request passed the middleware, you got
error is: code=400, message=EOF. Read More