This commit is contained in:
Ramzi Idir 2026-01-15 23:33:01 +01:00
parent f472de1a1d
commit f6aa3b5f0f

View File

@ -304,6 +304,10 @@ json_file() {
}'
)
echo $json_data
#SIMPLE LOCAL
curl -X POST http://localhost:8000/endpoint \
-H "Content-Type: application/json" \
-d "$json_data"
}
# Making the summary
@ -313,7 +317,7 @@ hardware
echo "Fetching software data..."
software
echo "Writing everything in summary.txt"
echo "Pushing fetch data into json file..."
json_file
echo "Putting things everything in summary.txt"
echo "Grabber has complete his mission! Find every logs saved in your home repository inside the /grabber folder."
echo "See you space cowboy..."