Android Question ImageDownload & Curl

pierrem

Member
Licensed User
Longtime User
Hi,

I'm trying to use the 'imagedownload' script available on this forum, but I'm facing this problem :

I first need to authenticate to the web services,
throught a browser, I can use an URL like : http://[email protected]/api/image.jpg
that works well ...

when trying with 'imagedownloader' script, I get an 'Unauthorized' error/message from the server.

Digging the original PHP script provided by the server's editor, I found that it use CURL to authenticate.
Well ...
I've been looking on this forum for some examples, nothing understandable by me.

Can someone helps, please ?

the original PHP script can be found here : PSWebServiceLibrary.php

Thanks a lot in advance
 
Top