Not able to Create a new confluence page as a child of another page

69 Views Asked by At

Not able to Create a new confluence page as a child of another page with below curl req:

curl -u admin:admin -X POST -H 'Content-Type:application/json' -d '{"type":"page","title":"new page",
"ancestors":[{"id":456}], "space":{"key":"TST"},"body":{"storage":{"value":
"<p>This is a new page</p>","representation":"storage"}}}'
https://wiki/rest/api/content/ 

OS: Windows

Error on using -o with curl:

curl: (7) Failed to connect to port 80: Connection refused

0

There are 0 best solutions below