1. Technology
Send to a Friend via Email
You can opt-out at any time. Please refer to our privacy policy for contact information.

Sinatra URL Matching


In the previous article we took a quick look at URL handlers and routes. In this article, we'll discuss routes in depth, exploring all the available features.

Sinatra has a good collection of features for handling requests. These URL handlers (also called "routing") can be used to match anything from a static string (such as /hello) to a string with parameters (/hello/:name) or anything you can imagine using wildcards and regular expressions.

  1. About.com
  2. Technology
  3. Ruby
  4. Tutorials
  5. Sinatra
  6. Sinatra URL Matching

©2014 About.com. All rights reserved.