Skip to content

The raw_url returned by the API at https://bpaste.net/json/new returns 404 #56

Closed
@millefalcon

Description

@millefalcon

To reproduce issue:

$ curl -F "code=hello" -F 'lexer=python' -F 'expiry=1day' https://bpaste.net/json/new
{"paste_id": "QFUQ", "removal_id": "BQEIPUVUN5RZACGQX53GBX5SHM", "paste_url": "https://bpaste.net/QFUQ", "raw_url": "https://bpaste.net/raw/QFUQ"}

$ curl https://bpaste.net/raw/QFUQ
<!doctype html>
<html>
<head>
<title>error</title>
<link rel="stylesheet" href="/static/pinnwand.css" type="text/css">
<link rel="stylesheet" href="/static/pygments.css" type="text/css">
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico">
<script type="text/javascript" src="/static/pinnwand.js"></script>
</head>
<body>
<header>
<nav>
<ul>
<li>
<a href="/"><img class="logo" src="/static/logo.png"></a>
</li>
</ul>
</nav>
</header>

<article>
<h1>404</h1>
<p>That page does not exist</p>
</article>

<footer>
View <a href="//github.com/supakeen/pinnwand" target="_BLANK">source code</a>, the <a href="/removal">removal</a> or <a href="/expiry">expiry</a> stories, or read the <a href="/about">about</a> page.
</footer>
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions