Use type: api when you want a reusable request definition — method, URL, headers, body, and optional inputs/outputs.
type: api
title: Get sample JSON
url: https://test.mmt.dev/json
method: get
format: jsonOpen the file in VS Code and click Send. The Response panel shows the result.
- Add
inputswhen callers should pass values; use<<i:name>>in the URL or body. - Add
outputsto extract fields for tests and chained calls.
- API files
- Example: Simple API