Hi,
I am trying to use below command but not working
curl -u admin:admin -X POST -H 'Content-Type: application/json' -d '{"type":"page","title":"page1","ancestors":[{"id":1234567}],"space":{"key":"test"},"body":{"storage":{"value":/tmp/test.html,"representation":"storage"}}}' https://localhost/wiki/rest/api/content/ | python3 -mjson.tool
What's not working about it? What response are you receiving from curl?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.