DEV Community

Peter Hansen
Peter Hansen

Posted on • Updated on

How to Proxy HTTP requests?

Hello world ✌️,

In this article, I would like to show you how you can proxy HTTP requests with absolutely no coding.

GIST:
The idea is that we going to use API service to send an HTTP request through a random proxy server. In this case, there is no need to maintain proxy servers on your side.

For people who prefer watching videos instead of reading, there is a quick video demonstrating how to use the proxy API service.

Ho to proxy HTTP requests

I have chosen to show proxybot service because, In my opinion, it is one of the easiest to use. Additionally, it is possible to create a free account and start using service for free. The actual service usage is pretty simple:
You just need to send an HTTP request with the following URL:

https://proxybot.io/api/v1/API_KEY?url=www.your-target-website.com
Enter fullscreen mode Exit fullscreen mode

Your request will be sent through a random proxy. There is also a possibility to send your request through proxy servers located in a specific country.


For example, if you want your request to come from Germany, then you need to append ‘&geolocation_code=de’ URL parm to your request

https://proxybot.io/api/v1/API_KEY?url=www.your-target-website.com&geolocation_code=de
Enter fullscreen mode Exit fullscreen mode

A full list of available geolocations and documentation can be found here.

Yes, it is that easy, just sending an HTTP request and stop worrying about searching and maintaining proxy servers manually.

PS: Proxybot it just one of the services allowing you to proxy your request. If you are looking for proxy providers here you can find a list with top proxy providers in 2021.

I hope that this article was useful and you found information that will help you.

Have a nice day ✌️

Top comments (0)