Skip to content

koko/rack-dynamic-routes-lab-cb-gh-000

This branch is 1 commit behind learn-co-students/rack-dynamic-routes-lab-cb-gh-000:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e150abe · Jan 29, 2016

History

5 Commits
Nov 28, 2015
Nov 28, 2015
Nov 28, 2015
Nov 28, 2015
Nov 28, 2015
Nov 28, 2015
Nov 28, 2015
Nov 28, 2015
Jan 29, 2016
Nov 28, 2015

Repository files navigation

Dynamic Routes and Status Codes

We've provided a basic Item class. Let's get more information on our items.

Instructions

  1. Your application should only accept the /items/<ITEM NAME> route. Everything else should 404
  2. If a user requests /items/<Item Name> it should return the price of that item
  3. IF a user requests an item that you don't have, then return a 400 and an error message

View Dynamic Routes and Status Codes on Learn.co and start learning to code for free.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%