reset http in golang

I am transferring data in a post method.

The first time i run the binary, it will get the return value for the post transmission, but if i try it repeatedly, it will not get the return value.

How do I initialize http on every iteration to get a return value?

client := &[login to view URL]{}

req, err := [login to view URL]("POST", Url, data)

if err != nil {



[login to view URL]("User-Agent", "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25")

[login to view URL]("Content-Type", "application/x-www-form-urlencoded")

resp, err := [login to view URL](req)

if err != nil {

defer [login to view URL]()



bs, _ := [login to view URL]([login to view URL])

[login to view URL]([login to view URL])

[login to view URL](string(bs))

defer [login to view URL]()

Habilidades: Golang, Mac OS, Objective C, Python, Swift

Veja mais: sign different user agent lotus notes, user agent php xml parser, asp check user agent wap, golang reuse http client, golang read tcp connection reset by peer, ncat connection reset by peer, golang http read: connection reset by peer, golang tcp connection reset by peer, golang http response body, golang http cookie, golang tcp rst, feedback type user agent, increase myspace plays mac user, lotus notes user agent forward email, parsing user agent string aspnet logfile, iphone wap user agent, php fake user agent script, phpfake referer user agent, perl user agent timeout, struts j2me device user agent

Acerca do Empregador:
( 19 comentários ) Pyeongtaeksi Gyeonggi-do, Korea, Republic of

ID do Projeto: #17599940

Concedido a:


Hi, I don't think I understood exactly your problem but it seems to be simple and I have exeperience with golang so I could help with it.

$17 USD em 1 dia
(2 Comentários)