Open nlohmann opened 6 years ago
From the documentation:
You’ll always want to check for a 200 response if you want to ensure that the message was delivered, as a small level of validation happens immediately that may result in a different response code (and message).
For instance, to react on invalid DSN.
see https://stackoverflow.com/questions/290996/http-status-code-with-libcurl/291006