crow
crow copied to clipboard
evaluate return HTTP code
For instance, to react on invalid DSN.
see https://stackoverflow.com/questions/290996/http-status-code-with-libcurl/291006
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).