update
This commit is contained in:
parent
8341b1a05c
commit
a9da8d8972
@ -96,8 +96,8 @@ json_data=$(jq -n \
|
|||||||
}')
|
}')
|
||||||
|
|
||||||
|
|
||||||
|
echo "arg1=$1"
|
||||||
curl -X POST http://localhost:8000/endpoint \
|
curl -X POST http://$1:8000/endpoint \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "$json_data"
|
-d "$json_data"
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ class ordinateur():
|
|||||||
cpu_freq_max = ""
|
cpu_freq_max = ""
|
||||||
cpu_id = ""
|
cpu_id = ""
|
||||||
mb_serial = ""
|
mb_serial = ""
|
||||||
ram = ""
|
ram_size = ""
|
||||||
ram_gen = ""
|
ram_gen = ""
|
||||||
sizes = ""
|
sizes = ""
|
||||||
gpu_model = ""
|
gpu_model = ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user