toppings
Get topping by ID
Retrieves a specific topping by its ID
get/toppings/{id}
Request
- Base URL<BURGER_API_HOST>/api (relative, and the document was published on a file host, not at the API’s origin)
- URL<BURGER_API_HOST>/api/toppings/{id}
- Authnone declared
Path parameters
idstring required
ID of the topping
Response
Topping details found
Example response
{
"id": "burger-1",
"name": "Margherita Burger",
"description": "Classic burger with tomato sauce and mozzarella",
"price": 12.99
}Changes
No recorded changes to this operation across all 5 revisions of this API.