Gym Fetch query written with relevant changes to the request handler