Added -k to curl statement so to ignore unsigned ssl cert