curl-users
Re: Google Spreadsheet call suddenly not working
Date: Wed, 27 Apr 2011 10:34:59 +0200 (CEST)
On Wed, 27 Apr 2011, Jay Whipple III wrote:
> For some reason the following URL can no longer be accessed
>
> http://spreadsheets.google.com/tq?tqx=out:csv&key=0AuaudW3idNXRdFVUem5ZQmJ3NFAzem1fQUhxZGQ3VEE
>
> If you put this in a browser (Safari) you get the csv file but CURL says the
> file has moved.....how do i find out where it has moved to?
>
> This has been working for a year now.
If you use -v you get to see all the details.
If you use -L you'll tell curl to automatically follow the HTTP redirect and
for me it then goes on to a HTTPS site.
The HTTPS site doesn't have a certificate that my curl can verify so I had to
add the -k switch to skip that.
... and now the response says I'm not authorized to get the content.
-- / daniel.haxx.se ------------------------------------------------------------------- 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.htmlReceived on 2011-04-27