Abstracted GET requests into a method