[go-nuts] help(rest call failed)

2018-11-12 Thread alive . seek
I just want to send a rest call with golang, but it failed, the error message : {"header":{"code":201,"desc":"param data not exist"}} .(but when I send rest request with postman ,it success) the code as follow 1 package main 2 3 import( 4 "net/http" 5 "fmt" 6

Re: [go-nuts] help(rest call failed)

2018-11-12 Thread Justin Israel
On Tue, Nov 13, 2018, 5:23 AM wrote: > I just want to send a rest call with golang, but it failed, the error > message : {"header":{"code":201,"desc":"param data not exist"}} .(but > when I send rest request with postman ,it success) > the code as follow > > 1 package main > 2 > 3 import