Skip to content

Folder settings

Folder settings apply to every request inside a folder, including subfolders. Use them for headers, auth or variables that a whole group of requests shares.

  • Right-click a folder → Folder settings…
  • For the whole workspace, choose Collection settings in the command palette.

A folder can set headers, auth, variables, a pre-request script, a response handler and notes. They’re saved in a .folder.json file in the folder.

Requests inherit from every folder above them:

  • Headers are merged. A deeper folder, or the request itself, wins on the same name.
  • Auth comes from the nearest folder when the request has none. The request’s Auth tab shows From the folder. # @auth none opts out.
  • Variables override the environment’s. Data-file rows and --var values override them.
  • Pre-request scripts run outermost folder first, then the request’s.
  • Response handlers run the request’s first, then its checks, then the folders’ (innermost first).

Folder notes are Markdown. They appear in HTML docs exports.