14 lines
303 B
Plaintext
14 lines
303 B
Plaintext
POST http://localhost:3333/login
|
|
[FormParams]
|
|
email: jason@debian.org
|
|
password: supersecretpassword
|
|
|
|
HTTP 200
|
|
[Asserts]
|
|
jsonpath "$.access_token" exists
|
|
jsonpath "$.refresh_token" exists
|
|
|
|
[Captures]
|
|
# We capture this so we can manually use it in curl/xh if we want
|
|
last_token: jsonpath "$.access_token"
|