Curl en vrac

curl -d "{ \n  \"action\":\"inventory\",\n  \"deviceid\":\"testCUrl\",\n  \"version\":\"12\",\n  \"name\":\"curl_agent\",\n  \"content\":[\n    {\n      \"bios\":[{\"mmanufacturer\":\"vsoft\",\"smodel\":\"smodel222\"}],\n      \"operatingsystem\":[{\"version\":\"Windows 11\",\"kernel_version\":\"22H2\"}]\n    }\n   ]\n}" -H "Content-Type: application/json" -H "Content-Encoding: gzip" http://10.0.0.19:8069/front/inventory.php
curl -d "{\"action\":\"contact\",\"deviceid\":\"WINCC-LSU.timac-prd.lan-2023-02-07-10-59-07\",\"version\":\"12\",\"name\":\"curl_agent\"}" -H "Content-Type: application/json" -H "Content-Encoding: gzip" http://10.0.0.19:8069/front/inventory.php
 
 
curl -X POST -H "Content-Type: application/json" -d @WINCC-LSU.JSON http://10.0.0.19:8069/front/inventory.php