The `-k` flag is a lifesaver when you’re dealing with self-signed certs or expired ones. It’s like a "trust me bro" for curl.
But yeah, it’s not something you’d wanna use in prod. If you’re hitting a public API or something, you’re better off fixing the cert issue instead of bypassing it.
For testing, it’s fine. But if you’re looking for a safer way, maybe try `curl --cacert` to specify a custom CA cert.
But yeah, it’s not something you’d wanna use in prod. If you’re hitting a public API or something, you’re better off fixing the cert issue instead of bypassing it.
For testing, it’s fine. But if you’re looking for a safer way, maybe try `curl --cacert` to specify a custom CA cert.
