# Http URL, Header, Query and body parameter transformation?

**URL:** <https://discourse.nodered.org/t/http-url-header-query-and-body-parameter-transformation/86659>\
**Category:** General\
**Tags:** http-request\
**Created:** [22 March 2024 08:36 UTC](https://discourse.nodered.org/t/http-url-header-query-and-body-parameter-transformation/86659 "2024-03-22T08:36:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sampurna](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sampurna](https://discourse.nodered.org/u/sampurna)\
**Post date:** [22 March 2024 08:36 UTC](https://discourse.nodered.org/t/http-url-header-query-and-body-parameter-transformation/86659/1 "2024-03-22T08:36:21Z")

</div>

dear team,  
I am new to Node-RED . currently working on migrating my current API gateway to Node-RED. In my current API Proxy all request from Client/APP is being changed or transformed before sending to Backend server. For example : my client curl is  
[https://webapp.Test.com/products/bundles.json?include\_optional\_promotions=1&product\_codes=4%2C3%2C2%2C1&promotion\_codes=](https://webapp.Test.com/products/bundles.json?include_optional_promotions=1&product_codes=4%2C3%2C2%2C1&promotion_codes=)

which should be transformed to  
[https://beserver.Testmobile.com/BEAPI/defined/V3/PreDefined?productCodes=4%2C3%2C2%2C1&MSISDN=&isIncludePromotion=true&PromotionCodes=](https://beserver.Testmobile.com/BEAPI/defined/V3/PreDefined?productCodes=4%2C3%2C2%2C1&MSISDN=&isIncludePromotion=true&PromotionCodes=)  
with extra headers like sectokn, loginID etc.

Need assistance in achieving the in Node-RED.

Regards,  
Sampurna Mohanty

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 April 2024 09:58 UTC](https://discourse.nodered.org/t/http-url-header-query-and-body-parameter-transformation/86659/2 "2024-04-07T09:58:07Z")

</div>

> [@sampurna](#):
>
> Need assistance in achieving the in Node-RED.

What part do you need assistance with?

do you have the HTTP-IN node receiving your curl queries? Have you added a debug node to the HTTP-IN (set to show the complete message) and checked to see how you can grab the query parameters?

Show us what you have and what you have achieved so far.

---

<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:** [6 June 2024 09:58 UTC](https://discourse.nodered.org/t/http-url-header-query-and-body-parameter-transformation/86659/3 "2024-06-06T09:58:14Z")

</div>

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