can anyone give me a tutorial or example on how to call this api via php script from a remote pc?
curl -X POST --header ‘Accept:application/json; charset=utf-8’ --header ‘Content-type:application/json; charset=utf-8’ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive -d’
{
“restURI”: “http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive”,
“name”: “testlive”,
“appType”: “Live”,
“clientStreamReadAccess”: “*”,
“clientStreamWriteAccess”: “*”,
“description”: “Testing our Rest Service”,
“streamConfig”: {
“restURI”: “http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamconfiguration”,
“streamType”: “live”
}
}’