AI engineering glossary · Web APIs HTTP
What is path parameter?
Path parameter (also called Path variable): A variable segment inside the path of a URL that identifies a particular resource, such as an id. It differs from query parameters, which are optional and follow the question mark.
Path parameter: an example
In /users/42/posts/9, the values 42 and 9 are path parameters selecting one user and one post.
Related terms
More Web APIs HTTP terms
Where you learn it
Path parameter is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.