# Http request node - gzip encrypted response

**URL:** <https://discourse.nodered.org/t/http-request-node-gzip-encrypted-response/30300>\
**Category:** General\
**Created:** [18 July 2020 20:03 UTC](https://discourse.nodered.org/t/http-request-node-gzip-encrypted-response/30300 "2020-07-18T20:03:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [18 July 2020 20:26 UTC](https://discourse.nodered.org/t/http-request-node-gzip-encrypted-response/30300/4 "2020-07-18T20:26:31Z")

</div>

Have a look at this topic, maybe you have to set the User-agent.

> [@Http API call using "http request" node receives "access denied" response](https://discourse.nodered.org/t/http-api-call-using-http-request-node-receives-access-denied-response/24976/3):
>
> Thank you, adding the header works: msg.url = "[https://api.weather.gov](https://api.weather.gov)"; msg.headers = {}; msg.headers['USER-AGENT'] = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36'; return msg;

Edit: Bart was a couple of seconds faster.

---

_[View the full topic](https://discourse.nodered.org/t/http-request-node-gzip-encrypted-response/30300)._
