POST requests/Is there a noob guide for Node-Red

So, Im trying to build a POST request for gathering data from a site(USCIS) relative to a case I’m tracking. The HA integration only provides date updated, but I’m trying to build a flow to trigger a automation to trigger mobile device notification upon a update. Rather than just ask how to send data with a POST in Node Red, is there a beginners guide to using NODE-red, or has someone done something similar who can share their flow, and I can manipulate it for my needs?

post request to: https://egov.uscis.gov/casestatus/mycasestatus.do with data:

Data I need to send, to expect response:
{appReceiptNum": "MyCase123XXXX", "initCaseSearch": "CHECK STATUS"}

I believe you should get the response under the debug menu, like in the picture

[{"id":"7b4b77d2.10a0e8","type":"http request","z":"937ef78.ec6b408","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"https://egov.uscis.gov/casestatus/mycasestatus.do","tls":"","persist":false,"proxy":"","authType":"","x":290,"y":1020,"wires":[["a7cfa0ca.5c2ad"]]},{"id":"b9854b6a.d5b898","type":"inject","z":"937ef78.ec6b408","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"appReceiptNum\":\"MyCase123XXXX\",\"initCaseSearch\":\"CHECK STATUS\"}","payloadType":"json","x":150,"y":1020,"wires":[["7b4b77d2.10a0e8"]]},{"id":"a7cfa0ca.5c2ad","type":"debug","z":"937ef78.ec6b408","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":450,"y":1020,"wires":[]}]
1 Like

Seeing someone who is familiar with NodeRed, it makes sense. Let me see if thatll do it. THANKS A MILLION :slight_smile: