Move response code check into separate method in GetGpa class