Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot bind twice http request (JSON format) #1844
Call multiples time c.Bind with "application/json" or "application/xml" binder type is not working due to the fact that req.body can only be read one time.
Steps to Reproduce the Problem
Following test illustrates the problem :
Just create a new file (for example: binding/binding_bind_json_test.go) in buffalo repo and run tests (
I will post soon a fix proposal based on packd.