This commit is contained in:
Tenzing Kandang 2026-01-22 11:08:39 +01:00
parent 8341b1a05c
commit a9da8d8972
2 changed files with 3 additions and 3 deletions

View File

@ -96,8 +96,8 @@ json_data=$(jq -n \
}')
curl -X POST http://localhost:8000/endpoint \
echo "arg1=$1"
curl -X POST http://$1:8000/endpoint \
-H "Content-Type: application/json" \
-d "$json_data"

View File

@ -8,7 +8,7 @@ class ordinateur():
cpu_freq_max = ""
cpu_id = ""
mb_serial = ""
ram = ""
ram_size = ""
ram_gen = ""
sizes = ""
gpu_model = ""