>_ RESTERM
v1.18.2

examples Workflows and mocks

compare.http

@compare directives and multi-environment sweeps started from the CLI.

runs as-is

shell
resterm run --all --compare dev,stage,prod _examples/compare.http

Run this from the root of a clone of the Resterm repository.

Editor
### Compare health across environments
# @name env-health
# @compare dev stage prod base=prod
GET {{services.api.base}}/status
Accept: application/json

### Compare feature flag
# @name feature-flag
# Toggle `--compare` or press `g+c` to reuse workspace defaults
GET {{services.api.base}}/feature-flags/{{feature.name}}
Accept: application/json

_examples/compare.http on GitHub

Compare runs docs
Search

↑↓ moveEnter openEsc close

Help

These keys work like the ones in the TUI.

/
Search the docs (also Ctrl K)
j k
Scroll down and up
g g G
Jump to the top or the bottom
[ ]
Previous and next page
g d
Docs index
g h
Home page
t
Switch between dark and light
?
Show this help
Esc
Close a dialog