From f6aa3b5f0fabe3e594173ef9855cb477ad1f4839 Mon Sep 17 00:00:00 2001 From: squick Date: Thu, 15 Jan 2026 23:33:01 +0100 Subject: [PATCH] wip json --- grabber.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/grabber.sh b/grabber.sh index 5b5a5a9..13390ed 100755 --- a/grabber.sh +++ b/grabber.sh @@ -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..."