N
N
Nikolay Baranenko2017-11-15 21:21:16
API
Nikolay Baranenko, 2017-11-15 21:21:16

How to get page content with Confluence?

Hello.
from wiki confluence need to get content content content content of specific page
conf01:8080/pages/viewpage.action?pageId=111113
tried to do like this

curl -u user2:[email protected] http://conf01:8080/pages/viewpage.action?pageId=111113 | python -mjson.tool

answer
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 95818    0 95818    0     0   230k      0 --:--:-- --:--:-- --:--:--  239k
Expecting value: line 2 column 1 (char 5)

I was hoping for JSON or at least a listing of HTML tags...
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay Baranenko, 2017-11-17
@drno-reg

worked after the user got the rights for the API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question