-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replacing partial service url in batch requests with just entry name #22
Comments
@dbonabalaya Thank you for your interest this lib.
Sorry, No, it isn't. Because
We need to set full url like as : ODataHttpClient/src/ODataHttpClient.Tests/SenarioV4Test.cs Lines 106 to 114 in 76668b6
If your odata service which is made by |
Thanks for replying to my question @iwate . I ended up doing a bit of RegExp magic just before sending the request and removed the partial Url there. So far so good. |
I have a service endpoint that looks like this: https://somedomain/service/v1
I create a batch request to post a Student entry and feeding the request to BatchRequest results in:
--batch
--changeset
POST /service/v1/Students
--changeset
--batch
Is there any workaround to make it ignore the partial service uri and instead of:
POST /service/v1/Students
create a request as:
POST Students
Thank you for your help!
The text was updated successfully, but these errors were encountered: