pub fn get_status_code(response: &Value) -> Option<i64>Expand description
Extract status code from response if it’s an HTTP response.
This function attempts to extract an HTTP status code from a response Value. It looks for a top-level “statusCode” field and returns its value if present and valid.