# Extracting data from API and inserting into Graphql Server

**URL:** https://discourse.nodered.org/t/extracting-data-from-api-and-inserting-into-graphql-server/35254
**Category:** General
**Created:** [3 November 2020 04:15 UTC](https://discourse.nodered.org/t/extracting-data-from-api-and-inserting-into-graphql-server/35254 "2020-11-03T04:15:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dixeetpurohit](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@Dixeetpurohit](https://discourse.nodered.org/u/Dixeetpurohit)
#### Post date: [3 November 2020 04:15 UTC](https://discourse.nodered.org/t/extracting-data-from-api-and-inserting-into-graphql-server/35254/1 "2020-11-03T04:15:10Z")

</div>

My purpose is to receive data through **Rest API** in Node-red using the **http request Node**. And extracting the useful information from the API response and insert it into **GraphQL server**. I am not sure how to extract the relevant data from API and use it in **graphql mutation**. Should I use a function node in between or how can it be done ?

---

<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: [2 January 2021 04:15 UTC](https://discourse.nodered.org/t/extracting-data-from-api-and-inserting-into-graphql-server/35254/2 "2021-01-02T04:15:41Z")

</div>

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