We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, So basically if Proxies are added at the time of creating Session it works but on sending request Like Get or Post it doesn't work
Using Proxy while creating Request in Session
proxyURL, _ := url.Parse("http://127.0.0.1:8080") session := grequests.NewSession(nil) res , _ := session.Get("https://api.ipify.org?format=json",&grequests.RequestOptions{ Proxies: map[string]*url.URL{ "http": proxyURL, "https": proxyURL, }, }) fmt.Println(res.String())
This above request gives my own IP
Using Proxy while Creating Session
proxyURL, _ := url.Parse("http://127.0.0.1:8080") session := grequests.NewSession(&grequests.RequestOptions{ Proxies: map[string]*url.URL{ "http": proxyURL, "https": proxyURL, }, }) res , _ := session.Get("https://api.ipify.org?format=json",nil) fmt.Println(res.String())
This Above Request works
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
So basically if Proxies are added at the time of creating Session it works
but on sending request Like Get or Post it doesn't work
Using Proxy while creating Request in Session
This above request gives my own IP
Using Proxy while Creating Session
This Above Request works
The text was updated successfully, but these errors were encountered: