odatacpp-client
odatacpp-client copied to clipboard
Wrong URL is generated if the next link is not based on the service root url.
auto service_context = std::make_shared(U("http://services.odata.org/v4/TripPinServiceRW/"));
auto people = service_context->create_people_query()->execute_query().get();
Will generate the following url:
GET /v4/TripPinServiceRW/V4/(S(am3jnyd3krsyc5rk4hq3duye))/TripPinServiceRW/People?%24skiptoken=8 HTTP/1.1