Forum Discussion

phani's avatar
phani
Advisor
10 years ago

PATCH request with http.client FreeMarker Context Object

Hi,

 

Can anyone suggest how to executes a HTTP PATCH request using http.client FreeMarker Context Object.

 

Thanks,

Phani

  • phani's avatar
    phani
    6 years ago

    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
     
    • phani's avatar
      phani
      Advisor

      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