httpStatusCode - The HTTP status code returned by the server, or null if the request
could not be made.
exception - If the request failed for certain reasons, like connectivity issues, an
exception may be provided. If the request was made but the server responded with an HTTP
status code outside of the 200 series, the value will be null.