Add in request method declaration to the function