automated terminal push

This commit is contained in:
Your Name
2025-02-06 13:09:57 -05:00
parent 9a787b2a58
commit 09d4e08831
80 changed files with 22592 additions and 147 deletions

View File

@@ -0,0 +1,49 @@
reset
clear
set -e
#set -x
##
echo
echo "##"
echo "##"
echo "##"
echo
##
curl -X GET http://localhost:8888/channel/monthly/games/failure/
sleep 4
echo
echo "##"
echo "##"
echo "##"
echo
curl -X GET \
http://localhost:8888/channel/monthly/games/failure/exists \
-H 'Content-Type: application/json' \
-d '{
"url": "https://links.embanet.com/talisman.txt"
}'
sleep 4
echo
echo "##"
echo "##"
echo "##"
echo
curl -X GET \
http://localhost:8888/channel/monthly/games/failure/exists \
-H 'Content-Type: application/json' \
-d '{
"url": "https://www.garudanet.com/talisman.txt"
}'

View File

@@ -0,0 +1,24 @@
#!/bin/bash
##
reset
clear
##
set -e
set -x
##
echo "##"
echo "## creating new [failure] record in the database"
echo "##"
curl -X POST \
http://localhost:8888/channel/monthly/games/failure/add \
-H 'Content-Type: application/json' \
-d '{"url": "https://www.garudanet.com/talisman.txt","hostIP":"falcon"}'