Hi team,
I'm getting a error while using the mthod publish after using a method add-host .
I use the task-id returned in the publish method on the method show-task and i got the below response:
{
"tasks": [
{
"task-id": "01234567-89ab-cdef-b239-ae1a014fbefc",
"task-name": "Publish operation",
"status": "failed",
"progress-percentage": 100,
"suppressed": false,
"task-details": [
{
"fault-message": "Publish cannot be performed without entering a session name and description."
}
]
}
]
}
As i can see in the documentation publish method only accept empty body:
POST {{server}}/v1.1/publish
Content-Type: application/json
X-chkp-sid: {{session}}
{ }
How can i solve this problem?
Thanks in advance