1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 11:27:06 +00:00
This commit is contained in:
Makis Maropoulos
2016-06-28 10:19:17 +03:00
parent 0a896f5137
commit 04dbd0bac9
4 changed files with 44 additions and 31 deletions

View File

@@ -275,7 +275,7 @@ func (ctx *Context) RequestHeader(k string) string {
// PostFormValue returns a single value from post request's data
func (ctx *Context) PostFormValue(name string) string {
return string(ctx.RequestCtx.PostArgs().Peek(name))
return string(ctx.FormValue(name))
}
// PostFormMulti returns a slice of string from post request's data