Files
nfeeder/test_requests/register.hurl
T
2026-04-29 08:15:36 +02:00

16 lines
389 B
Plaintext

# POST to the register endpoint
POST http://localhost:3333/register
[FormParams]
email: jason@debian.org
password: supersecretpassword
# We expect a 200 OK and JSON containing tokens
HTTP 200
[Asserts]
header "Content-Type" contains "application/json"
jsonpath "$.access_token" exists
jsonpath "$.refresh_token" exists
# Useful for debugging in tmux:
# hurl --verbose test_register.hurl