Last active
May 4, 2018 11:42
-
-
Save chanakaudaya/ec59f8ca92501e19f7abe70bb0a526c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<api xmlns="http://ws.apache.org/ns/synapse" name="EmailAPI" context="/voice"> | |
<resource methods="POST GET" uri-template="/details?email={email}"> | |
<inSequence> | |
<log level="full"> | |
<property name="EMAIL" expression="$url:email"/> | |
</log> | |
<respond/> | |
</inSequence> | |
</resource> | |
<resource methods="POST GET" uri-template="/phone/{number}"> | |
<inSequence> | |
<log level="full"> | |
<property name="PHONE" expression="$ctx:uri.var.number"/> | |
</log> | |
<respond/> | |
</inSequence> | |
</resource> | |
</api> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment