Skip to content
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

POST url with query string parameter #877

Open
neonleo opened this issue Sep 5, 2022 · 1 comment
Open

POST url with query string parameter #877

neonleo opened this issue Sep 5, 2022 · 1 comment

Comments

@neonleo
Copy link

neonleo commented Sep 5, 2022

I am working on SAP HANA, a upsert function have to POST url with parameter like
POST https://my356688-api.s4hana.ondemand.com/sap/opu/odata/sap/YY1_HCI_ID_ID_ORIGIN_CDS/YY1_HCI_ID_ID_ORIGINSap_upsert?IDOrigin='EXTERNAL'&ContactID='1'&Field1='Max'&Field2='Mustermann'
Reference link - SAP Blog

So how do I work on this?
Had try many method on Simple.OData.Client and seem it not allow the uri with query string.

@hosney
Copy link

hosney commented Nov 7, 2022

QueryOptions together with InsertEntryAsync is supposed to work but does not seem to. QueryOptions together with UpdateEntryAsync appears to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants