Hi everyone,
I'm trying to send post data to a webpage that only accept application/x-www-form-urlencoded data.
Unfortunately, I found nothing about this particular case on the web so I'm dropping this message here hoping someone could help...
My flow is simple : I made a button that send payload (url encoded form data) to HTTP (post) request node then get the respond in HTML node (extract a particular element the exists only when the form is posted) then show its contents to the debug console.
But the required element is not present, meaning the form has not been "posted" by Node-red...
Here is my flow to make you test :
[{"id":"dc340531.b64a48","type":"http request","z":"bb09978a.8fd18","name":"Solar request","method":"POST","ret":"txt","url":"http://www.meteoservices.be/fr/be/home/meteo/panneaux-solaires.html","x":316.5,"y":354,"wires":[["fe5881dd.45de9"]]},{"id":"e092d174.59d93","type":"inject","z":"bb09978a.8fd18","name":"Test in solar","topic":"Test in solar","payload":"Zipcode=7060&PanelWP=240&NoOfPanels=2&Slope=12&Azimuth=155","payloadType":"str","repeat":"","crontab":"","once":false,"x":113.5,"y":354,"wires":[["dc340531.b64a48"]]},{"id":"fe5881dd.45de9","type":"html","z":"bb09978a.8fd18","name":"Extract data","tag":".tx-mgpvinstallation-pi1 table","ret":"html","as":"multi","x":505.5,"y":353,"wires":[["3c4b8672.124e42"]]},{"id":"3c4b8672.124e42","type":"debug","z":"bb09978a.8fd18","name":"","active":true,"console":"false","complete":"false","x":701.5,"y":353,"wires":[]}]
Thanks for your help !