Struggling with curl proxy settings? How do I properly configure a curl proxy for my requests?

16 Replies, 1835 Views

Hey everyone,

Sooo, I’ve been trying to figure out this whole curl proxy thing for like an hour now, and I’m kinda stuck. 😅 I need to route my curl requests through a proxy, but no matter what I do, it’s either timing out or just not working.

I’ve tried the basic `-x` flag with my proxy URL, like:
`curl -x http://myproxy:port http://example.com`
But nada. Am I missing something? Do I need to add auth or something?

Also, does anyone know if there’s a way to set a curl proxy globally so I don’t have to type it every time? That’d be a lifesaver.

Thanks in advance, y’all! 🙏

Messages In This Thread
Struggling with curl proxy settings? How do I properly configure a curl proxy for my requests? - by - 12-05-2024, 09:29 AM



Users browsing this thread: 1 Guest(s)