Removed the -k option on the curl lines.