Hello Everyone,
Can someone provide sample code that makes http request and that request returns a JPG image that I need to save on local HD?
Thank you,
cURL := "https://cdn.images.express.co.uk/img/dynamic/109/590x/Apple-links-587431.jpg"
MEMOWRIT( "myfile.jpg", WebPageContents( cURL ) ) // This one line of code does the job
// Check if saved correctly
XIMAGE( "myfile.jpg" )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 103 guests