[Apiman-user] How to change the URL location with URL Rewriting Policy

Celso Agra celso.agra at gmail.com
Thu Feb 2 16:23:04 EST 2017


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20170202/b77e4b53/attachment-0001.html 


More information about the Apiman-user mailing list