Hi all,
I'm trying to do a simple get request. The base url is : https://geodes.santepubliquefrance.fr/GC_indic.php?lang=fr&prodhash=123456789&indic=tx_pe_gliss&dataset=sp_ti_tp_7j&view=map2&filters=semaine_glissante=2020-11-30-2020-12-18.
This should give you back a json file. When you call this url through the browser or postman it work properly, but through the http-request node I got something ununderstandable.
I think I need to enable and specify the secure (SSL/TLS) connection. I don't know how to do that.
Does anyone have a tutorial for that ? How to build the files ?
Thanks a lot.
.Christian
[{"id":"cb7b703.2f2289","type":"http request","z":"601312ef.b153fc","name":"Build & Do Request","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://geodes.santepubliquefrance.fr/GC_indic.php?lang=fr&prodhash={{{random}}}&indic=tx_pe_gliss&dataset=sp_ti_tp_7j&view=map2&filters=semaine_glissante=2020-11-30-{{{date}}}","tls":"","persist":false,"proxy":"","authType":"","x":530,"y":1060,"wires":[["a8fcfd0f.7c808"]]},{"id":"b6237e30.7c5e5","type":"moment","z":"601312ef.b153fc","name":"Date today","topic":"","input":"","inputType":"date","inTz":"Europe/Paris","adjAmount":"0","adjType":"days","adjDir":"subtract","format":"YYYY-MM-DD","locale":"fr_FR","output":"date","outputType":"msg","outTz":"Europe/Paris","x":350,"y":1060,"wires":[["cb7b703.2f2289"]]},{"id":"a8fcfd0f.7c808","type":"debug","z":"601312ef.b153fc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":690,"y":1060,"wires":[]},{"id":"e2d78d08.3c68e","type":"inject","z":"601312ef.b153fc","name":"Trigger Manual","props":[{"p":"payload"},{"p":"random","v":"","vt":"date"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":1060,"wires":[["b6237e30.7c5e5"]]}]