# How can I use proxy in http request

**URL:** <https://community.n8n.io/t/how-can-i-use-proxy-in-http-request/28002>\
**Category:** Questions\
**Tags:** http-request\
**Created:** [July 11, 2023, 12:01am UTC](https://community.n8n.io/t/how-can-i-use-proxy-in-http-request/28002 "2023-07-11T00:01:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruan17](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruan17/32/80411_2.png) [@Ruan17](https://community.n8n.io/u/Ruan17)\
**Post date:** [July 11, 2023, 12:01am UTC](https://community.n8n.io/t/how-can-i-use-proxy-in-http-request/28002/1 "2023-07-11T00:01:25Z")

</div>

![image](https://europe1.discourse-cdn.com/n8n/original/3X/9/d/9d4edb19d03663623a46ba3028757b76de6bce3b.png)

I’m trying to access this site `https://comunicaapi.pje.jus.br/api/v1/comunicacao` with a Brazilian proxy but it’s giving an error

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [July 11, 2023, 9:52am UTC](https://community.n8n.io/t/how-can-i-use-proxy-in-http-request/28002/3 "2023-07-11T09:52:13Z")

</div>

Hi @Ruan17 👋 Sorry to hear you’re running into this!

I don’t have a proxy at hand to test, but maybe @Jon could help you out here? 🙇‍♂️

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [July 11, 2023, 2:33pm UTC](https://community.n8n.io/t/how-can-i-use-proxy-in-http-request/28002/5 "2023-07-11T14:33:19Z")

</div>

Hey @Ruan17,

It could be worth adding the protocol in front of your proxy so if it is an http proxy pop `http://` at the front, I have just quickly found a list of proxies online and found one that does work with that api you can find the workflow below.

It could be that maybe there is an issue with the proxy you are using as well but maybe the workflow will help work that out.

---

<div class="post-metadata">

**Author:** ![Ruan17](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruan17/32/80411_2.png) [@Ruan17](https://community.n8n.io/u/Ruan17)\
**Post date:** [July 11, 2023, 7:27pm UTC](https://community.n8n.io/t/how-can-i-use-proxy-in-http-request/28002/6 "2023-07-11T19:27:47Z")

</div>

> [@EmeraldHerald](#):
>
> I don’t have a proxy at hand to test, but maybe @Jon could help you out here? 🙇‍♂️

Thanks @Jon , I definitely believe the problem is the proxy itself

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 18, 2023, 7:28pm UTC](https://community.n8n.io/t/how-can-i-use-proxy-in-http-request/28002/7 "2023-07-18T19:28:19Z")

</div>

Closed on July 18, 2023, 7:28pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
