We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can Bind to the Model by body Parameter
Request as below
{ "name":"test" "mail":"[email protected]" }
You can bind
type User struct { Name string `json:"name"` Mail string `json:"mail"` } func BindUser(ctx poteto.Context) { user := User{} ctx.Bind(&user) }