cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Need Help

From: Charles Romestant <cromestant_at_gmail.com>
Date: Wed, 27 May 2015 14:53:23 -0400

On Wed, May 27, 2015 at 2:44 PM, David Colter via curl-users <
curl-users_at_cool.haxx.se> wrote:

> Sourin,
>
> I have a url which is working fine when i use it on browser. (not asking
> any user authentication) but when i use it in script I am getting below
> error:
>
> i just did this
>
>
> curl <url>
>
>
> Try using a browser tool like Tools > Web Developer > Firebug or Network
> (in Firefox) or Developer > Developer Tools (w/ Chrome) and watch what the
> browser is sending and receiving. Then you will need to repeat that with
> CURL.
>
> To become authenticated, may require a few curl requests. The example you
> give doesn’t give us much to go on to help you.
>
> David
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
>
What I would suggest is that you try your request in another browser ( or
incognito) you will probably see the authentication required..
You can also give us more information by doing a curl -v <url>

-- 
MSc. Charles M. Romestant F.
Merci de penser à l'environnement avant d'imprimer cet e-mail
Please think about the environment before you print this e-mail
Por favor piense en el medio ambiente antes de imprimir este e-mail

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-05-27