Solved
Forum Discussion
KevinSaquing
7 years agoAce
Hi
Any update on this?
Thanks
- phani7 years agoAdvisor
HI KevinSaquing ,
Yes, it is possible by passing header X-HTTP-Method-Override = PATCH. Following is the syntax.
<#assign response = http.client.request(API).header("X-HTTP-Method-Override", "PATCH").post()/>Thanks,Phani- KevinSaquing7 years agoAce
Hi phani
Thanks but, unfortunately, this does not work on my end.
Regards- phani7 years agoAdvisor
This is strange, I am using the same code in multiple endpoints without any issue. Are you seeing any FreeMarker exceptions? will you able to debug on the other end (API) whether the request is coming or not?
http.clinet.request freemarker context object will throw exception if the API status code is other than 200, maybe check API status code as well.