Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Replace variables in file paths #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skuro
Copy link

@skuro skuro commented May 29, 2019

This change allows to specify a filename as a variable, e.g.:

:test-file = ./test-data.json

# Process stuff
GET http://localhost:8000/process
Content-Type: application/json

< :test-file

This allows to easily switch between different payloads for the same
API with minimal efforts.

This change allows to specify a filename as a variable, e.g.:

```
:test-file = ./test-data.json

GET http://localhost:8000/process

< :test-file
```

This allows to easily switch between different payloads for the same
API with minimal efforts.
@skuro skuro changed the title Replace variables in file paths before parsing Replace variables in file paths May 29, 2019
@leetwinski
Copy link

double this! We should merge this one somehow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants