wrapping request with a utility function that returns an RSVP promise