What is the behavior you are seeing?  It's possible that the apiman gateway itself is following the redirect.  Is that what's happening?

On Thu, Feb 2, 2017 at 4:23 PM, Celso Agra <celso.agra@gmail.com> wrote:
All,

I'm trying to change the location path in browser with my nodeJS application.
For some reason, the apiman does not allow me to change that.

So, I'm think to use the URL Rewriting Policy Configuration, but I'd like to understand how it works.

Here's my nodeJS code:
req.url = config.redirect_site;
res.statusCode = 302; 
res.location(config.redirect_site);
res.end();

Without APIman it works fine! Does anyone know how can I set a different url with this policy or any other method in Apiman?

Thanks!

Best regards,

--
---
Celso Agra

_______________________________________________
Apiman-user mailing list
Apiman-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user