Re: [go-nuts] Receiving Post Using Go

2017-08-14 Thread Kennedy Kanyi
Thanks for this feedback. To be precise, Am looking at two things 1. Receiving raw post data in Go (like HTML PHP Forms) where I have a file receive.go that can read the post as it comes. 2. Receiving json data Like in PHP Json ( $data = json_decode( file_get_contents('php://input'), true);) T

Re: [go-nuts] Receiving Post Using Go

2017-08-14 Thread Konstantin Khomoutov
On Mon, Aug 14, 2017 at 05:06:08AM -0700, Kennedy Kanyi wrote: > I would want to inquire how I can receive POST data from a URL using Golang. > > A case study would be where a system sends a username and password via POST > and my Go receiving file reads the post and the values. In addition to

Re: [go-nuts] Receiving Post Using Go

2017-08-14 Thread Shawn Milochik
https://golang.org/pkg/net/http/#Request.ParseForm https://golang.org/pkg/net/http/#Request.FormValue -- 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

[go-nuts] Receiving Post Using Go

2017-08-14 Thread Kennedy Kanyi
Hello guys, I would want to inquire how I can receive POST data from a URL using Golang. A case study would be where a system sends a username and password via POST and my Go receiving file reads the post and the values. Thank you in advance. -- You received this message because you are subsc