On this page:
both of the sample cURL requests use the -k flag (equivalent to --insecure).
This is not something which ought to be used: curl ootw: -k really means insecure | daniel.haxx.se
Initially I copy-pasted this sample into my script, but fortunately noticed the -k flag before submitting my code.
I’m guessing it ended up in the documentation by oversight - perhaps this flag is used when testing the API internally. In any case, it should be removed from the documentation, as users could copy-paste this command without understanding the effect of the -k flag.