Questions Tagged With requesthttps://answers.axonivy.com/tags/request/?type=rss&user=Alex%20Suterquestions tagged <span class="tag">request</span>enFri, 21 Apr 2017 15:47:27 -0400Reserved request parametershttps://answers.axonivy.com/questions/2586/reserved-request-parameters<p>Hi Ivy.team,</p> <p>I have a concern when trying to attach a param names "lang" to an URL. Ex: <code><a href="http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?lang=EN">http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?lang=EN</a></code></p> <p>And it returns null when extract by using <code>ivy.request.getFirstParameter("lang")</code>.</p> <p>Then, I change it to <code>"language"</code> as below. <code><a href="http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?language=EN">http://localhost:8081/ivy/pro/designer/abc/15A6EF8EF2C5F61B/start.ivp?language=EN</a></code> Now it returns value <code>EN</code> with <code>ivy.request.getFirstParameter("language")</code> as I expect.</p> <p>Is <code>lang</code> a keywork or something which couldn't use for url param?</p> <p>Asked by <a href="http://answers.axonivy.com/users/796/thienqh">@thienqh</a></p>Alex SuterFri, 21 Apr 2017 15:47:27 -0400https://answers.axonivy.com/questions/2586/reserved-request-parametersrequest