Using the request body
The request body must be a top-level JSON object that contains all the parameters as its properties.
$ API=https://manager.example.com/rhn/manager/api
$ curl -H "Content-Type: application/json" --cookie "pxt-session-cookie<tokenhash>;" \
> -d '{"projectLabel":"myproject","name":"My Project","description":""}' \
> $API/contentmanagement/createProject
{
"success": true,
"result": {
"name": "My Project",
"id": 1,
"label": "myproject",
"orgId": 1
}
}