diff --git a/connect.sh b/connect.sh index 6dbda32..06e85a5 100644 --- a/connect.sh +++ b/connect.sh @@ -1,9 +1,9 @@ -url="https://api.powerbi.com/beta/72f988bf-86f1-41af-91ab-2d7cd011db47/datasets/db49b474-9a6a-40c9-b5f9-be94dc8228a8/rows?key=tJvZgjg52aeMzUf%2FzPsbWZa1K%2BVrDKem%2FCneSY5FbV9GOW5%2B8ctaNwHAiYMaxbbfv%2FwFCTJUUTstqBRNo%2BUlZA%3D%3D" +url="https://api.powerbi.com/beta/72f988bf-86f1-41af-91ab-2d7cd011db47/datasets/f56a3240-7d0c-45aa-a694-65ebf6a04cc2/rows?key=RHtUJLk6Vi7QIlOBAPENJuCHOT6WbVdBi%2Fa%2BhwoDFpaOFhTsPH8zXWE%2F%2FFSjPdxF7Lmkf%2Fl1q2nLgBYk7HYqUQ%3D%3D" build_time=`date +%Y-%m-%dT%H:%M:%S` -computer_name=`hostname` +device_info=`uname -s -n -m` curl --include --request POST --header "Content-Type: application/json" --data-binary "[{ \"Build time\" :\"$build_time\", -\"Computer name\" :\"$computer_name\", -\"Project name\" :\"$1\", -\"score\" :1 +\"Device info\" :\"$device_info\", +\"Project info\" :\"$1\", +\"Weight\" :1 }]" $url