One reason to skip SSL/TLS certificate verification is during testing where you just want to perform API testing. To do that, just specify -k argument in curl:
curl -k https://server.com/api/test
With this, you ignore any expired certificates and verification of the server’s certificate.