# HTTP node header request help

**URL:** https://discourse.nodered.org/t/http-node-header-request-help/52637
**Category:** General
**Tags:** http-request
**Created:** [24 October 2021 01:37 UTC](https://discourse.nodered.org/t/http-node-header-request-help/52637 "2021-10-24T01:37:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sheminasalam](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sheminasalam/32/8981_2.png) [@sheminasalam](https://discourse.nodered.org/u/sheminasalam)
#### Post date: [24 October 2021 01:37 UTC](https://discourse.nodered.org/t/http-node-header-request-help/52637/1 "2021-10-24T01:37:48Z")

</div>

While trying to get some info about mutual funds I was provided with the following api info.

```auto
POST /ri/v1/investment/scheme/nav HTTP/1.1
Content-Type: application/json
X-Rapidapi-Host: mutual-fund-info.p.rapidapi.com
X-Rapidapi-Key: f6d274573cd8a9
Host: mutual-fund-info.p.rapidapi.com
Content-Length: 191

[
  {
    "schemeCode": "100526",
    "date": "10-Jul-2018"
  },
  {
    "schemeCode": "100526",
    "date": "14-Jul-2018"
  },
  {
    "schemeCode": "112278",
    "date": "11-Jul-2018"
  }
]

```

I have tried to use the http node connected to aa function node to get the relevant info but not able to get it working. I hope some one can help me build the function node with headers and the config http node for this api.

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [24 October 2021 06:16 UTC](https://discourse.nodered.org/t/http-node-header-request-help/52637/2 "2021-10-24T06:16:25Z")

</div>

The documentation [explains how to set headers](https://cookbook.nodered.org/http/set-request-header)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [23 December 2021 06:16 UTC](https://discourse.nodered.org/t/http-node-header-request-help/52637/3 "2021-12-23T06:16:26Z")

</div>

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