add -k to curl for https links.