Skip to content
Raphael Kim edited this page Mar 31, 2014 · 5 revisions

GET a file from HTTP server.

    SimpleHTTP http;
    char       url[] = "http://www.google.com/images/srpr/logo11w.png";

    printf("Requesting for %s ... ", url );

    http.httpmethod( HTTP_REQ_METHOD_GET );
    if ( http.request( url ) == true )
    {
        printf("[ok.]\n");
    }
Clone this wiki locally