Introduction
Path parameters let you get values directly from the URL. This helps your app respond differently based on what the user asks for.
You want to get a user ID from the URL to show their profile.
You need to fetch a product by its ID from the URL.
You want to create URLs that change based on the item requested.
You want to build REST APIs where resources are identified by URL parts.