
12 Nov
2012
12 Nov
'12
11:58 p.m.
On Tue, 13 Nov 2012, "Trent W. Buck" <trentbuck@gmail.com> wrote:
Suggest curl -sf. I'm also surprised the API returns as the body, when IMO the 301 is more logical -- which would be -sfw'%{redirect_url}', possibly with an -I for good measure.
"" to the echo is superfluous. Should have quotes around the $1 though.
Thanks for the suggestion. I've put in quotes. I'm not going to use -sf because I don't plan to use it in scripts at this time, I just want something faster than firing up a new browser window just to visit a web site. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/