Api test files for hurl.

This commit is contained in:
2026-04-29 08:15:36 +02:00
parent 1811648e72
commit df03a58f0c
3 changed files with 48 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
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"