Changed api call to be protocol relative