Handles success cases in GET requests