mirror of
https://github.com/labstack/echo.git
synced 2024-12-24 20:14:31 +02:00
Change 'Context-Type' to 'Content-Type' in guide document (#788)
This commit is contained in:
parent
039394fdbc
commit
04ed761d41
@ -11,7 +11,7 @@ description = "Handling HTTP request in Echo"
|
||||
|
||||
To bind request body into a Go type use `Context#Bind(i interface{})`.
|
||||
The default binder supports decoding application/json, application/xml and
|
||||
application/x-www-form-urlencoded data based on the Context-Type header.
|
||||
application/x-www-form-urlencoded data based on the Content-Type header.
|
||||
|
||||
Example below binds the request payload into `User` struct based on tags:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user