From 370d327a704ca0de750899d50e31d022882ffe5a Mon Sep 17 00:00:00 2001 From: slaventius Date: Thu, 2 Feb 2023 21:35:51 +0300 Subject: [PATCH] * --- scripts/send_to_auth.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/send_to_auth.sh diff --git a/scripts/send_to_auth.sh b/scripts/send_to_auth.sh new file mode 100644 index 0000000..ae305c4 --- /dev/null +++ b/scripts/send_to_auth.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +for i in $(seq 1 100); +do + curl --location --request POST 'http://127.0.0.1:9994/api/v1/registration' \ + --header 'x-device: android' \ + --header 'x-checksum: b25seWZvcm9iaXVzZXJzhY0e357DGJYW5kcm9pZA==' \ + --header '1673858714;' \ + --header 'Content-Type: application/x-www-form-urlencoded' \ + --data-urlencode uid=""$1"" \ + --data-urlencode email=""$1@mail.ru"" + echo "" +done