how to use proxy:port for http request in automagic
Moderator: Martin
how to use proxy:port for http request in automagic
how to use proxy:port for http request in automagic.
I need to use proxy to send http request, but can't find it.
I need to use proxy to send http request, but can't find it.
Re: how to use proxy:port for http request in automagic
i also can't find a way to do it. The only possible one is to change wifi proxy, and seems only can be done via Control UI. So it is quite a distracting automation. Changing the proxy affect system wide connection. So if you don't need the proxy all the time, only for that particular http request, I only can think about using the flow :
- open setting and use control UI to change the proxy. Wait there
- Do http request at the background
- After finish, continue another Control UI to change the proxy back to none.
- open setting and use control UI to change the proxy. Wait there
- Do http request at the background
- After finish, continue another Control UI to change the proxy back to none.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: how to use proxy:port for http request in automagic
I want to send multiple requests at the same time with many different proxies. The proxy is independent just like curl, Here is an example
https://techieroop.com/how-to-use-curl-with-proxy/
https://techieroop.com/how-to-use-curl-with-proxy/
Re: how to use proxy:port for http request in automagic
Oh, I forgot we have curl. What is your android version? If you are on latest android, you should have curl binary already in the /system/bin.
You can use that directly as pointed out in your link. Use action execute command, then curl and use the proxy parameter.
But of course this is still a valid request, so we can use the proxy directly in HTTP request action.
You can use that directly as pointed out in your link. Use action execute command, then curl and use the proxy parameter.
But of course this is still a valid request, so we can use the proxy directly in HTTP request action.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: how to use proxy:port for http request in automagic
I don't know how to use it, you can make me a simple flow ^^Desmanto wrote: ↑21 Mar 2020 17:42Oh, I forgot we have curl. What is your android version? If you are on latest android, you should have curl binary already in the /system/bin.
You can use that directly as pointed out in your link. Use action execute command, then curl and use the proxy parameter.
But of course this is still a valid request, so we can use the proxy directly in HTTP request action.
Re: how to use proxy:port for http request in automagic
I don't know how to use curl in automagicDesmanto wrote: ↑21 Mar 2020 17:42Oh, I forgot we have curl. What is your android version? If you are on latest android, you should have curl binary already in the /system/bin.
You can use that directly as pointed out in your link. Use action execute command, then curl and use the proxy parameter.
But of course this is still a valid request, so we can use the proxy directly in HTTP request action.
Re: how to use proxy:port for http request in automagic
Just add action Execute Command. At the command field, put
curl -x yourproxyaddress:port sitetovisit
example
I don't have proxy to test. Can't find any test proxy to test on.
curl -x yourproxyaddress:port sitetovisit
example
Code: Select all
curl -x www.proxy.com:8080 www.google.com
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: how to use proxy:port for http request in automagic
I have proxyDesmanto wrote: ↑25 Mar 2020 16:46Just add action Execute Command. At the command field, put
curl -x yourproxyaddress:port sitetovisit
exampleI don't have proxy to test. Can't find any test proxy to test on.Code: Select all
curl -x www.proxy.com:8080 www.google.com
168.235.95.186:41360:ceJuGc:pdxksg
Please make a flow request http to facebook.com.
I cannot do it if I only see text
i didn't find full documentation on curl in automagic.
I could not find the download link for Curl for Linux - Android
Response
sh: curl: not found
Re: how to use proxy:port for http request in automagic
What kind of proxy is that? 41360 is port but what are others?