Replay with the CLI
Replaying a Request
Command
Options
Replay but Do Not Save
To replay a request and NOT save it anywhere, run the command with no flags:
This can be useful for replaying the request before doing any mutating operations to confirm the API changes are expected.
Replay and Create a New Request
The --record
flag will replay the original request, but create an entirely new request:
This can be useful if you want to save the request to Stoobly and inspect it as a separate request in the UI. Please be aware that this will not allow you to update the original request with the new one since it is considered a different request altogether.
Replay and Save to Replay History
The --save
flag will replay the request and save it to the Replay History for that request:
This links the rerecording with the original request but won't change the response yet. This enables you to manually overwrite and update the response later.
Replay and Immediately Overwrite
To update a request immediately, use the --overwrite
flag which will do the same as the --save
flag AND also set the request's response to that latest replayed instance:
This command option is the most convenient one because it replays, rerecords, and overwrites the response all in one go.
Last updated