You can be helpful to install it globally:
npm i -g seqreq
# then use it for your requests
seqreq myfile.yml
But you can use it even without installing:
npx seqreq myfile.yml
A sample file would look like this:
- VERSION: 0.0.1
BASE_URL: https://jsonplaceholder.typicode.com
DEFAULT:
HEADERS:
Cache-Control: no-cache
DEFAULT_GET:
HEADERS:
Accept: application/json
- GET: /todos/3
- GET: /posts/1
- POST: https://example.com/api/test
HEADERS:
Content-Type: application/json
BODY:
property1: data1
property2: data2
CONTEXT REQ_BODY REQ_HEADERS RES_BODY RES_HEADERS STATUS TITLE LOG