cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Need Help

From: David Colter via curl-users <curl-users_at_cool.haxx.se>
Date: Wed, 27 May 2015 14:44:20 -0400

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
Received on 2015-05-27