Hi Dimitry,

How you can do this is by writing a custom out sequence that would do the
url transformations for you and save that out sequence (xml file) in the
appropriate registry location so that you can apply that sequence in the
response path of the API.

The document at [1] has more details about this capability.

[1] - https://docs.wso2.org/display/AM160/Adding+a+Mediation+Extension

Thanks,
NuwanD.


On Tue, May 20, 2014 at 1:17 PM, Dmitry Sotnikov <[email protected]> wrote:

> Hi,
>
> I tried to find this in documentation but got confused - so asking over
> email.
>
> I have a backend web service that for some calls returns URLs related to
> the webservice. I am trying to use WSO2 API Cloud to proxy that webservice.
> Obviously, I now need the gateway to modify the calls so instead of private
> URLs - the public (gateway) ones are returned. So this would be a fairly
> simple regex.
>
> Now... where and how do I put this regex?
>
> --
> Dmitry Sotnikov
> VP of Cloud; WSO2, Inc.;  http://wso2.com/
> email: [email protected]; cell: +1.949.303.9653; Skype: DSotnikov
> Lean . Enterprise . Middleware
>
>  <http://wso2.com/events/>
>



-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to