Extract request logic into a function to make reopen/comment easier in future