httpGET sample code


#1

Any working sample code of using http GET-request?


#2

libcurl provides and example they describe as Simple https GET

There is also a httpGet sample app that’s part of Legato.


#3

Trying to run HttpGet sample gives:
Jan 6 00:20:39 | supervisor[654]/supervisor T=main | app.c CreateFileLink() 1485 | Could not stat file at ‘/etc/resolv.conf’. No such file or directory
Jan 6 00:20:39 | supervisor[654]/supervisor T=main | app.c CreateFileLink() 1588 | Failed to create link at ‘/etc/resolv.conf’ in app ‘httpGet’.

Propably I have something wrong with my environment, how to find resolv.conf? ( im using Win DS, module 7702)