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
How one is supposed to describe endpoint for a html form which posts multipart/form-data? It seems that the endpoint.Body() func is meant to be used to describe the fields but I can't figure out what the first parameter should be. Say I have a form which posts an file and a string field...
How one is supposed to describe endpoint for a html form which posts
multipart/form-data
? It seems that theendpoint.Body()
func is meant to be used to describe the fields but I can't figure out what the first parameter should be. Say I have a form which posts an file and a string field...As a workaround, following seems to work:
the
parameter
func is one fromendpoint/buider.go
.If there is better way please document it (in some example or as a code snippet in readme).
The text was updated successfully, but these errors were encountered: