Hello,
I'm trying to use postman tool to create API call for creation of new confluence page.
I've also used python console too for that, but in any casese it's does not work.
POST /confluence/rest/api/content/ HTTP/1.1
Host: leverxeu.atlassian.net
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json
Accept: application/json
Cache-Control: no-cache
Postman-Token: 986c9484-c4e6-87be-891c-6ba1b7e079dd
{
"title": "My new title",
"type": "page",
"space": {"key":"LXEMP02"},
"body":{
"storage":{
"value":"<p>New page data.</p>",
"representation":"storage"
}
}
}
System always return the same response if you will call the same endpoint with GET method. No errors no messages always code 200
Could somebody help me with that?
REST API for updating page are working well.
PUT /confluence/rest/api/content/91980485 HTTP/1.1
Host: leverxeu.atlassian.net
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json
Accept: application/json
Cache-Control: no-cache
Postman-Token: 911456d9-b5b1-1440-4686-7de6f51d492c
{"id":"91980485","type":"page",
"title":"new page","space":{"key":"LXEMP02"},"body":{"storage":{"value":
"<p>This is the updated text for the new page</p>","representation":"storage"}},
"version":{"number":2}}