Yep, `-k` is the flag for *curl ignore certificate* checks. It’s not secure, but for testing, it’s fine.
If you wanna log errors, you can use `-s` for silent mode and `-S` to show errors, then redirect to a file:
`curl -k -s -S https://example.com > output.log 2>&1`
This’ll keep things clean but still log any issues.
If you wanna log errors, you can use `-s` for silent mode and `-S` to show errors, then redirect to a file:
`curl -k -s -S https://example.com > output.log 2>&1`
This’ll keep things clean but still log any issues.
