---
title: "Example of a parameter in URL"
method: GET
path: "/pictures/{cat}"
tags: ["Cat pictures"]
---

# Example of a parameter in URL

`GET /pictures/{cat}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/pictures/{cat}`
- Auth: API key in header `X-App-Token`
- TypeScript: <https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/docs/pictures/:cat/get.ts> (a function with typed inputs; its response is checked against the schema)

Example of a parameter in URL

## Response `200`

Student picture found

## Other responses

- `404`: Student picture not found
- `500`: The server encountered an internal error. Further info in server logs

---

[API](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated.md) - [All operations](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/llms.txt) - [OpenAPI document](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/revisions/d003dbf3b487?raw)
