<div dir="ltr">Yeah! The Apiman is following the redirect.<div>If I do not use the apiman to invoke the http method, so, my system can redirect to another url (such as the location in browser); But If I use the apiman to invoke this method, so the location is not being changed</div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-02 19:19 GMT-03:00 Eric Wittmann <span dir="ltr">&lt;<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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_s<wbr>ite);</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="m_-3279757157703936174HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-3279757157703936174m_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></div></div>______________________________<wbr>_________________<br>
Apiman-user mailing list<br>
<a href="mailto:Apiman-user@lists.jboss.org" target="_blank">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/mailma<wbr>n/listinfo/apiman-user</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:&#39;Times New Roman&#39;;font-size:16px">---<br><b>Celso Agra</b></span></div></div></div></div></div>
</div>