aboutsummaryrefslogtreecommitdiff
path: root/http/login.hurl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--http/login.hurl14
1 files changed, 14 insertions, 0 deletions
diff --git a/http/login.hurl b/http/login.hurl
new file mode 100644
index 0000000..906cfe4
--- /dev/null
+++ b/http/login.hurl
@@ -0,0 +1,14 @@
+POST http://localhost:8080/v1/login
+{
+ "username": "wormhole",
+ "password": "12345678"
+}
+HTTP 200
+
+POST http://localhost:8080/v1/login
+{
+ "username": "wormhole",
+ "password": "1234567899"
+}
+HTTP 401
+