cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.
Brian_Talley_15
Historic F5 Account

Here's a couple rapid-fire snippets to help you manipulate HTTP request URI's. The first converts all characters in a URI to lowercase before submitting the request to the backend server. Node.js (and javascript) provide some very helpful string manipulation methods - toLowerCase() is one.

In the second snippet, we're using a simple regex check and string concatenation to ensure that any URI has a trailing forward slash before being passed to the backend server.

Version history
Last update:
‎12-Jan-2015 14:30
Updated by:
Contributors