slumber_cli 5.3.0

Command line interface for Slumber. Not intended for external use.
Documentation
# yaml-language-server: $schema={{#schema}}
# ^ This enables schema validation and autocomplete in your editor
# https://github.com/redhat-developer/yaml-language-server

# For basic usage info, see:
# https://slumber.lucaspickering.me/getting_started.html
# For all collection options, see:
# https://slumber.lucaspickering.me/api/request_collection/index.html

name: My Collection

# Profiles are groups of data you can easily switch between. A common usage is
# to define profiles for various environments of a REST service
profiles:
  example:
    name: Example Profile
    data:
      host: https://my-host

requests:
  example_get:
    name: Example GET
    method: GET
    url: "{{ host }}/get"

  example_folder:
    name: Example Folder
    requests:
      example_post:
        name: Example POST
        method: POST
        url: "{{ host }}/post"
        body:
          type: json
          data: { "data": "{{ response('example_get') | jsonpath('$.data') }}" }