request
request copied to clipboard
go request, go http client
Results
3
request issues
Sort by
recently updated
recently updated
newest added
i think is in the http context to operate it . it is necessary to add setproxy function.
RFC 2617, page 5
``` c = request.Client{ Context: context.Background(), Method: "POST", URL: url, Timeout: TIMEOUT, ProxyURL: "http://127.0.0.1:8080", URLEncodedForm: "username=admin&password=123456", } resp = c.Send() resp.Code() # 200 ```