Hi i am trying to Create new application using rest API, as per documentation :
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”
}
}’
but here i am getting issue, the error comes ‘(500) Internal Server Error, The server encountered an unexpected condition which prevented it from fulfilling the request’
please let me know what i am doing wrong.
Thanks