update
This commit is contained in:
parent
8341b1a05c
commit
a9da8d8972
@ -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"
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ class ordinateur():
|
||||
cpu_freq_max = ""
|
||||
cpu_id = ""
|
||||
mb_serial = ""
|
||||
ram = ""
|
||||
ram_size = ""
|
||||
ram_gen = ""
|
||||
sizes = ""
|
||||
gpu_model = ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user