• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP Request using Nodered
#1
Dear Armin,

Good Morning.

Hope you are doing well.

I am working on HTTP Request application to fetch the data from Amadeus8 Software, some of the Get request working and some of the not. for cross checking request I have used Postman Software for checking the same HTTP Get Request and it is working fine with Postman Software, but in node red it is not working.

Is there any Docker Container need to be install?

Screenshots attached for your reference.


Br,
Devendra


Attached Files Thumbnail(s)
       
  Reply
#2
No the only thing you need is Node-RED. If the status 401 is returned, then you you not fed the http request node with valid data pretty sure.

I would do the following. Install Node-RED for windows. Then use the same Node-RED flow as you are using on netPI. But on the PC you have the advantage to install also wireshark network analyser tool. So whenever you send http request over the node, you can make a network record at the same time and you have a chance to look at the data sent by the node.

The http request node is well explained on many web sites. I am no expert for this node to be honest.

I found the following we sites explaining details about the node

https://stevesnoderedguide.com/node-red-...-beginners
https://cookbook.nodered.org/http/simple-get-request
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Hello Armin,

I have already gone through the below links.

Only with this HTTP request not able to get response in node red, but other HTTP request performing properly. please find attached screenshot.


Br,
Devendra


Attached Files Thumbnail(s)
   
  Reply
#4
Well as I said, you have to analyse with Wireshark network analyer what the Node-RED http request node is sending out compared to other http request across other software. I am 100% sure the http request node is working properly, else after 6 years of Node-RED and https node anybody else would have found this problem already. I am sure it is a misconfiguration/setup issue.

But as I said I am no https request node expert. I am sorry.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#5
Ok Armin Thanks for your help.


Br,
Devendra
  Reply
#6
Dear Armin, 

I am able to get API response in HTTP request. Issue with the authentication ins password we have to put the API key.

Thanks for your support.



Br,
Devendra
  Reply
#7
Thank you for letting me know and confirms what I told you ... any possible http request can be constructed and sent via Node-RED http request node and it is just a matter of parameters
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,666 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,589 November-16th-2020, 01:35 PM
Last Post: alhammi
  NodeRed and EtherCAT Schranz 3 6,057 September-23rd-2020, 08:01 AM
Last Post: Armin@netPI
  Node-Red "http in"-Node not working DWxPro 8 7,504 June-19th-2020, 01:12 AM
Last Post: DWxPro
  [SOLVED] WebConfig netpi-nodered-fieldbus JohnyD94 13 7,878 May-6th-2019, 12:20 AM
Last Post: JohnyD94
  [SOLVED] nodered : flows_localhost deleted after creating an image from container paubau 6 3,994 September-21st-2018, 10:19 AM
Last Post: paubau
  [SOLVED] hilschernetpi/netpi-nodered-fieldbus Fieldbus configurator can't be open Andreas 6 5,646 June-11th-2018, 09:12 AM
Last Post: Armin@netPI
  Activate Projects Feature in NodeRed AlexFdez 2 2,940 May-7th-2018, 10:58 PM
Last Post: AlexFdez
  NodeRed Modbus Flow iotuser 1 2,370 March-27th-2018, 11:14 AM
Last Post: Armin@netPI
  Using SSH in netPI-nodered-fieldbus image Schranz 3 3,591 March-6th-2018, 06:29 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)