I have a dashboard which I post data to display on.The dashbaord has multiple segments. I have an sql query which retrieves the data and loops through to push results. I want run the curl command below via php within this script. Can someone point me in the right direction? Or help. I have looked around a bit but im confused on how to get it to work.
Below is the what my php page will generate and this is what i would like to send via php using curl.
curl -d '{ "auth_token" : "YOUR_AUTH_TOKEN" , "value" : "519" }' http://172.21.4.62:3030/widgets/Skin