How to safely use curl ignore certificate for testing purposes?

14 Replies, 1756 Views

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.

Messages In This Thread



Users browsing this thread: 1 Guest(s)