Thursday, February 5, 2015

How to remove header from a request using wso2 API Manager

File Name: /_system/governance/apimgt/customsequences/in/auth_token_remover.xml

Content:
<sequence xmlns="http://ws.apache.org/ns/synapse" name="AuthToken--Remover--In">
    <header name="Authorization" scope="transport" action="remove"/>
    <log level="custom">
        <property name="TRACE" value="Global Mediation Extension by Krishna for Authorization remove."/>
    </log>
</sequence>

No comments:

Post a Comment