> For the complete documentation index, see [llms.txt](https://certil-remy.gitbook.io/learn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://certil-remy.gitbook.io/learn/rack/untitled-9.md).

# Dynamic URLs and Status Codes Lab

[Permalink](https://github.com/learn-co-curriculum/rack-dynamic-routes-lab/blob/da54fd881889fc37f2632a0ef7e8f3b8cce81b00/README.md) **1** contributor

#### &#x20;Users who have contributed to this file

&#x20;12 lines (7 sloc) 635 Bytes

## 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

Clone the lab Here: <https://github.com/learn-co-curriculum/rack-dynamic-routes-lab>
