Android Question ImageDownload & Curl

Discussion in 'Android Questions' started by pierrem, Feb 28, 2015.

  1. pierrem

    pierrem Member Licensed 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://KEY_FOR_AUTH@www.theserver.com/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
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice