Convert POST to PATCH

I want to convert POST to PATCH.

client is sending request in POST but can Apigee convert POST method to PATCH to server ?

0 1 421
1 REPLY 1

sydub7
New Member

It could be done by attaching Assign Message Policy before sending the request to target.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<AssignMessage async="false" continueOnError="false" enabled="true" name="Assign-Message-1"> 
<DisplayName>Assign Message-1</DisplayName> 
<Properties/> 
<Set> 
<Verb>PATCH</Verb> 
<Path/> 
</Set> 
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> 
<AssignTo createNew="false" transport="http" type="request"/> 
</AssignMessage>