mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-06 20:18:19 +08:00
Merge 0ebb3b2c51c7acec2227b69c683edec24957aaf5 into d5b353c5d5a560322e6d96121c814115562501f7
This commit is contained in:
commit
35c8e84899
@ -170,7 +170,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Multipart/Urlencoded Form
|
#### Multipart/Urlencoded Form
|
||||||
|
|
||||||
```go
|
```go
|
||||||
func main() {
|
func main() {
|
||||||
@ -190,7 +190,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Another example: query + post form
|
#### Another example: query + post form
|
||||||
|
|
||||||
```
|
```
|
||||||
POST /post?id=1234&page=1 HTTP/1.1
|
POST /post?id=1234&page=1 HTTP/1.1
|
||||||
@ -220,7 +220,7 @@ func main() {
|
|||||||
id: 1234; page: 1; name: manu; message: this_is_great
|
id: 1234; page: 1; name: manu; message: this_is_great
|
||||||
```
|
```
|
||||||
|
|
||||||
### Another example: upload file
|
#### Another example: upload file
|
||||||
|
|
||||||
References issue [#548](https://github.com/gin-gonic/gin/issues/548).
|
References issue [#548](https://github.com/gin-gonic/gin/issues/548).
|
||||||
|
|
||||||
@ -373,7 +373,7 @@ func main() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
###Multipart/Urlencoded binding
|
#### Multipart/Urlencoded binding
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user