cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI: How to use Patch operation in HTTP adapter

0 Kudos

Hi Experts,

As per my requirement I should use patch operation in HTTP adapter but unfortunately I couldn't find patch operation. I gave a try by using "Dynamic" method and in expression tab I've given data stored in header which is ${header.Branch_ID}

but still no luck. So is there any way of achieving patch operation in HTTP adapter.

Any inputs from you is greatly appreciated.

Thanks,

Vineeth

Accepted Solutions (1)

Accepted Solutions (1)

sanjali07
Participant

Hi Vineeth,

Set header CamelHttpMethod as PATCH,

And as you have done set this header property as Dynamic value, i.e. expression as ${header.CamelHttpMethod}

Kind Regards

Sanjali

Hi Sanjali,

Thank you. It worked.

In the mean while as a work around I found a way to use patch method using POST call this can be done by appending

/?_HttpMethod=PATCH at end of the URL and select method as POST.

But thank you for the response.

Regards,

Vineeth.B

Answers (0)