diff --git a/context.go b/context.go index 1db7285..b640b83 100644 --- a/context.go +++ b/context.go @@ -45,6 +45,10 @@ func (this *Context) Request(name string) *q5.XValue { return q5.Request(this.r, name) } +func (this *Context) GetBody() *q5.XValue { + return q5.GetPostBody(this.r) +} + func (this *Context) Header(name string) string { if val, ok := this.r.Header[name]; ok { return val[0]