Stories from the Web Crawling trenches in routing code

How to Build a Super Simple HTTP Proxy in Kotlin in just 20 lines of code

Author: Mohan Ganesan

Date: Oct 1, 2023

Kotlin makes server-side development concise yet powerful. Here is a basic HTTP proxy server in Kotlin in less than 20 lines of code.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!