updated curl to use -k option to avoid self-signed cert errors when on HTTPS