From aa740db35b2c2162534413245fa95c92e6fb7aad Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 17 May 2021 22:09:01 -0400 Subject: [PATCH] more "test" scripts --- debug/curl/login_bad_password.sh | 7 +++++++ debug/curl/login_bad_username.sh | 7 +++++++ debug/curl/login_email.sh | 7 +++++++ debug/curl/login_username.sh | 7 +++++++ 4 files changed, 28 insertions(+) create mode 100755 debug/curl/login_bad_password.sh create mode 100755 debug/curl/login_bad_username.sh create mode 100755 debug/curl/login_email.sh create mode 100755 debug/curl/login_username.sh diff --git a/debug/curl/login_bad_password.sh b/debug/curl/login_bad_password.sh new file mode 100755 index 0000000000..8da6754518 --- /dev/null +++ b/debug/curl/login_bad_password.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# LOCALHOST ONLY + +curl -vvv \ + -H "content-type: application/json" \ + --data '{"username_or_email": "echelon", "password": "BAD_PASSWORD"}' \ + http://localhost:12345/login diff --git a/debug/curl/login_bad_username.sh b/debug/curl/login_bad_username.sh new file mode 100755 index 0000000000..85b70e89f6 --- /dev/null +++ b/debug/curl/login_bad_username.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# LOCALHOST ONLY + +curl -vvv \ + -H "content-type: application/json" \ + --data '{"username_or_email": "nobody", "password": "testing"}' \ + http://localhost:12345/login diff --git a/debug/curl/login_email.sh b/debug/curl/login_email.sh new file mode 100755 index 0000000000..977f07023a --- /dev/null +++ b/debug/curl/login_email.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# LOCALHOST ONLY + +curl -vvv \ + -H "content-type: application/json" \ + --data '{"username_or_email": "echelon@gmail.com", "password": "testing"}' \ + http://localhost:12345/login diff --git a/debug/curl/login_username.sh b/debug/curl/login_username.sh new file mode 100755 index 0000000000..95b72e8857 --- /dev/null +++ b/debug/curl/login_username.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# LOCALHOST ONLY + +curl -vvv \ + -H "content-type: application/json" \ + --data '{"username_or_email": "echelon", "password": "testing"}' \ + http://localhost:12345/login