hurl/integration/tests/basic_authentication_per_request.hurl

15 lines
374 B
Plaintext
Raw Normal View History

2021-12-16 23:52:14 +03:00
GET http://bob:secret@localhost:8000/basic-authentication-per-request
HTTP/1.0 200
```You are authenticated```
GET http://localhost:8000/basic-authentication-per-request
Authorization: Basic Ym9iOnNlY3JldA==
HTTP/1.0 200
```You are authenticated```
GET http://localhost:8000/basic-authentication-per-request
[BasicAuth]
bob:secret
HTTP/1.0 200
```You are authenticated```