These are chat archives for gin-gonic/gin

15th
Aug 2015
MOZGIII
@MOZGIII
Aug 15 2015 18:09
Hi, is there a way to fetch the raw body of a request from a context object? Preferably a io.Reader
MOZGIII
@MOZGIII
Aug 15 2015 18:45
c.Request
Chris
@ChristopherRabotin
Aug 15 2015 19:15
Yes, grab the Body in c.Request
Use io utils to read it all
Chris
@ChristopherRabotin
Aug 15 2015 19:48
@MOZGIII, also make sure to close the body as any io, unless you'll need it later of course