Documentation Index
Fetch the complete documentation index at: https://docs.getpostchi.com/llms.txt
Use this file to discover all available pages before exploring further.
Request file format
A request file has three parts:- Request line — the HTTP method and URL on the first non-comment line
- Headers — one header per line in
Header-Name: valueformat - Body — everything after the
@bodydirective
Empty lines and lines starting with
// are ignored. Use // comments freely to document your requests.Request line
The first line must be the HTTP method followed by the URL, separated by a space:Headers
Add headers on the lines immediately after the request line, before@body. Each header follows the standard Name : value format:
Body
Place@body on its own line to start the body section. Everything after @body is sent as the request body. See Request body for details on supported formats.
Examples
GET request
POST request with a JSON body
Using comments
Lines that start with// are skipped when the request runs. Use them to explain the request or temporarily disable a header:
Setting a base URL
Instead of repeating the full URL in every request file, you can set abaseUrl using folder settings at the folder level: see Folder Settings for details.
With baseUrl configured, you can write request files using a root-relative path:
baseUrl automatically when the URL starts with /.