cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to consume a remote service with ETag (Precondition required)?

FabienHenique
Participant
1,040

I am referring to URL:

undefined/docs/node.js/remote-services

Please get back to me on the following feedback:

Hello CAP team, when calling remote service, how can we add parameter like ETag and would be the syntax for this kind of query (POST <host>/sap/opu/odata/sap/API_OUTBOUND_DELIVERY_SRV;v=2/PostGoodsIssue?DeliveryDocument='80000001')?

Accepted Solutions (1)

Accepted Solutions (1)

johannesvogel
Product and Topic Expert
Product and Topic Expert

Hi Fabien,

you can use custom http header using the srv.send API:

https://cap.cloud.sap/docs/node.js/services#srv-send

Hope that helps,

Johannes

FabienHenique
Participant
0 Kudos

Thanks johannesvogel, I've been able to use this!

radu_simen
Product and Topic Expert
Product and Topic Expert

Is there any sample for SAP CAP with Java when using CqnUpdate and CqnService ?

sharanatsap
Explorer
0 Kudos
+1 Yep, Looking for the same in CAP - Java

Answers (0)