declared request_method outsie of the try-catch