Consume a rest API in a AR like fashion