changed the curl command to include -K

-K allows curl to ignore curl's verification of SSL certification, which stops the command from running.