微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

调用 REST API 以使用邮递员获取汇合页面时出现“页面不可用”404 错误

如何解决调用 REST API 以使用邮递员获取汇合页面时出现“页面不可用”404 错误

我是通过 REST api 使用 confluence 的新手,现在我在 confluence 中创建了一个页面,并想通过 REST API 检索页面内容。我用邮递员来调用 GET url

https://xxxx.atlassian.net/rest/api/content/32991?expand=body.storage

使用基本身份验证,具有从 atlassian 开发人员访问令牌页面生成用户名和访问令牌。

当我在 postman 中调用 url 时,出现页面不可用错误。做了很少的研究,但无法弄清楚确切的问题。在汇合或其他方面是否有任何权限问题要启用。请帮忙。

<!DOCTYPE html>
<html lang="en">

<head>
    <Meta charset="utf-8">
    <Meta name="description" content="">
    <Meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Atlassian Cloud Notifications - Page Unavailable</title>
    <link rel="stylesheet" href="/_edge/resources/aui-prototyping.css">
</head>

<body>
    <div id="page">
        <section id="content" role="main" class="aui-page-notification aui-page-size-medium">
            <div id="notifications" class="aui-page-panel">
                <div class="aui-page-header-inner">
                    <section class="aui-page-panel-content">
                        <h1>404</h1>
                        <div class="aui-page-notification-description">
                            Page not found
                        </div>
                    </section>
                </div>
            </div>
        </section>
        <footer id="footer">
            <section class="footer-body">
                <ul>
                    <li><a href="https://status.atlassian.com">Atlassian Status</a></li>
                    <li><a href="https://confluence.atlassian.com/display/cloud/What's+New">Release Summary</a></li>
                    <li><a
                            href="https://confluence.atlassian.com/display/Cloud/Atlassian+Cloud+Documentation">Documentation</a>
                    </li>
                    <li><a href="https://answers.atlassian.com">Answers</a></li>
                </ul>
                <div id="footer-logo"><a href="http://www.atlassian.com/" target="_blank">Atlassian</a></div>
            </section>
        </footer>
    </div>
</body>

</html>

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?