Thats great! Thanks for sharing. req.Body = ioutil.NopCloser(bytes.NewReader([]byte("foo")))
works! On Wednesday, 27 June 2018 at 22:21:52 UTC+5:30 keens...@gmail.com wrote: > This worked perfectly, thanks! > > > On Tuesday, December 1, 2015 at 5:29:27 AM UTC-8, Borja Berastegui wrote: >> >> req.Body = ioutil.NopCloser(bytes.NewReader([]byte("foo"))) >> >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8e4dce0a-e6e9-4586-9ac6-5953be828711n%40googlegroups.com.