PostForm returns the specified key from a POST urlencoded form or multipart form when it exists, otherwise it returns an empty string `("")`.
(key string)
| 599 | // PostForm returns the specified key from a POST urlencoded form or multipart form |
| 600 | // when it exists, otherwise it returns an empty string `("")`. |
| 601 | func (c *Context) PostForm(key string) (value string) { |
| 602 | value, _ = c.GetPostForm(key) |
| 603 | return |
| 604 | } |
| 605 | |
| 606 | // DefaultPostForm returns the specified key from a POST urlencoded form or multipart form |
| 607 | // when it exists, otherwise it returns the specified defaultValue string. |