I want to make (repeated) GET requests using esp8266. So far, I've seen 2 approaches to this. One is using WiFiClient's print() method to make the request, provided it's packaged as a HTTP compliant GET request string.
The second is to use HTTPClient's begin() & GET() methods, to make the request directly in the form of "http://<host>/<url>". This can also get the response codes easily.
What is the "standard" or textbook method to make GET requests? Could someone elaborate on the pros/cons of the above2 methods?
Thanks.