Contents

Basic auth

Scenario: Using basic http auth for a remote api

  • Given I have the following app.yml file
    api_url: "http://localhost:1234"
    api_basic_auth:
      user: "bob"
      password: "some_secret"

Source: features/api_requests/basic_auth.feature at commit fe1da3d7, Chaplin (MIT license).