# Token request with http Get/Post

**URL:** <https://discourse.nodered.org/t/token-request-with-http-get-post/80700>\
**Category:** General\
**Tags:** http-request, function-node\
**Created:** [22 August 2023 00:18 UTC](https://discourse.nodered.org/t/token-request-with-http-get-post/80700 "2023-08-22T00:18:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![piero.monopoli67](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@piero.monopoli67](https://discourse.nodered.org/u/piero.monopoli67)\
**Post date:** [22 August 2023 00:18 UTC](https://discourse.nodered.org/t/token-request-with-http-get-post/80700/1 "2023-08-22T00:18:07Z")

</div>

Hi everyone,  
I'm trying to integrate a system for reading production data of photovoltaic systems with node-red. The manufacturer provided me with information on how to request the token.  
Once fetched from the first request, you can use it for subsequent requests and then data.  
Now with postman I can get it going, while with node-red which I don't have a lot of experience with, I can't find the right syntax to achieve the same result.  
This is the data I use with postman:

Request type: POST  
URL: [xxxxx.com](https://xxxxxx.xxxxxxx.com/sysmap/authentication/sign-in)  
Headers (8):  
key value  
Postman-Token   
Content-Type application/json  
Content-Length   
Host   
User-Agent PostmanRuntime/7.32.3  
Accept _/_  
Accept-Encoding gzip, deflate, br

body (RAW JSON):  
{  
"email": "[xxxxxx@test.com](mailto:xxxxxx@test.com)",  
"password": "xxxxxxPassword"  
}

Can someone help me?  
Thank you very much.

---

<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:** [21 October 2023 00:18 UTC](https://discourse.nodered.org/t/token-request-with-http-get-post/80700/2 "2023-10-21T00:18:55Z")

</div>

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