<div dir="ltr">What is the behavior you are seeing?  It&#39;s possible that the apiman gateway itself is following the redirect.  Is that what&#39;s happening?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 4:23 PM, Celso Agra <span dir="ltr">&lt;<a href="mailto:celso.agra@gmail.com" target="_blank">celso.agra@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>All,</div><div><br></div><div>I&#39;m trying to change the location path in browser with my nodeJS application.</div><div>For some reason, the apiman does not allow me to change that.</div><div><br></div><div>So, I&#39;m think to use the URL Rewriting Policy Configuration, but I&#39;d like to understand how it works.</div><div><br></div><div>Here&#39;s my nodeJS code:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="monospace, monospace">req.url = config.redirect_site;</font></div></div><div><div><font face="monospace, monospace">res.statusCode = 302; </font></div></div><div><div><font face="monospace, monospace">res.location(config.redirect_<wbr>site);</font></div></div><div><div><font face="monospace, monospace">res.end();</font></div></div></blockquote><div><br></div><div>Without APIman it works fine! Does anyone know how can I set a different url with this policy or any other method in Apiman?</div><div><br></div><div>Thanks!</div><div><br></div><div>Best regards,</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_7373563148733409187gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:&quot;times new roman&quot;;font-size:16px">---<br><b>Celso Agra</b></span></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Apiman-user mailing list<br>
<a href="mailto:Apiman-user@lists.jboss.org">Apiman-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/apiman-user" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/apiman-user</a><br>
<br></blockquote></div><br></div>