Yo, you’re on the right track with `-k`! That’s the go-to for *curl ignore certificate* stuff.
If you wanna log errors, you can also use `--stderr` to redirect errors to a file. Like:
`curl -k --stderr error.log https://example.com`
Also, check out Postman if you’re testing APIs a lot. It’s way easier to handle certs and errors there.
If you wanna log errors, you can also use `--stderr` to redirect errors to a file. Like:
`curl -k --stderr error.log https://example.com`
Also, check out Postman if you’re testing APIs a lot. It’s way easier to handle certs and errors there.
