Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 17:22
· 212 commits to master since this release

ADDED

  • Support for Base APIs
  • New environment variable for capturing individual querystring parameters:
    $MOCK_REQUEST_QUERYSTRING_FOOBAR
  • Enable plaintext responses to use mock variables, such as:
mock serve --route foo/bar --response 'Url: ${MOCK_REQUEST_URL}'
  • Enable individual request headers to be read through environment variables
    such has MOCK_REQUEST_HEADER_FOO_BAR