eykrehbein / strest

⚡️ CI-ready tests for REST APIs configured in YAML
MIT License
1.74k stars 59 forks source link

Feature: Basic Auth #65

Closed jgroom33 closed 6 years ago

jgroom33 commented 6 years ago

support this:

version: 1

requests:
  login:
    url: https://postman-echo.com/basic-auth
    Auth:
        basic:
            username: postman
            password: password
    method: GET

This would result is a header: Authorization: Basic cG9zdG1hbjpwYXNzd29yZA==

jgroom33 commented 6 years ago

@eykrehbein fyi. I used this for SCHEMA.md: https://marketplace.visualstudio.com/items?itemName=AlanWalk.markdown-toc

eykrehbein commented 6 years ago

73