hurl/integration/tests_ok/basic_authentication_per_request.json

2 lines
638 B
JSON

{"entries":[{"request":{"method":"GET","url":"http://bob%40email.com:secret@localhost:8000/basic-authentication-per-request"},"response":{"status":200,"body":{"type":"text","value":"You are authenticated"}}},{"request":{"method":"GET","url":"http://localhost:8000/basic-authentication-per-request","headers":[{"name":"Authorization","value":"Basic Ym9iQGVtYWlsLmNvbTpzZWNyZXQ="}]},"response":{"status":200,"body":{"type":"text","value":"You are authenticated"}}},{"request":{"method":"GET","url":"http://localhost:8000/basic-authentication-per-request"},"response":{"status":200,"body":{"type":"text","value":"You are authenticated"}}}]}