-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In the scope of issue #96 there were no any changes (see comment #96 (comment)).
Therefore I opened this issue.
Steps to reproduce
- Using
iakunin-codexia-botapi-token - Already created 100 reviews
- Trying to create one more review
curl --location --request POST 'https://www.codexia.org/p/96/post?text=This%20project%20is%20found%20on%20Reddit:%20[web%20link](https://www.reddit.com/comments/fgmyjg),%20[api%20link](https://www.reddit.com/api/info.json?id%3Dt3_fgmyjg),%20&hash=89bc46e1-36e6-467e-91cf-052b5e0db3ee' \
--header 'X-Codexia-Token: <token>'
Expected result
Error with http response code differs from 200.
Actual result
Http response code == 200 with message You are reviewing too fast in html-body.
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html;charset=utf-8
Date: Mon, 16 Mar 2020 19:47:16 GMT
Server: nginx
Set-Cookie: flash_msg=; domain=www.codexia.org; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000; secure; HttpOnly
Set-Cookie: flash_color=; domain=www.codexia.org; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000; secure; HttpOnly
Strict-Transport-Security: max-age=31536000
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
<!DOCTYPE html>
<html>
<head>
<title>/recent</title>
<meta charset='UTF-8'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<meta content='investment, open source, incubator' name='keywords'>
<meta content='Open Source Incubator' name='description'>
<link href='https://cdn.jsdelivr.net/gh/yegor256/tacit@gh-pages/tacit-css.min.css' rel='stylesheet'>
<link href='https://cdn.jsdelivr.net/gh/yegor256/drops@gh-pages/drops.min.css' rel='stylesheet'>
<link href='https://www.yegor256.com/css/icons.css' rel='stylesheet'>
<link href='https://www.codexia.org/logo-64.png' rel='shortcut icon'>
<script src='https://code.jquery.com/jquery-3.3.1.min.js'></script>
<style>
body { padding: 1em; }
section { width: 700px; }
article { border: 0 }
header, article, footer { padding: 1em; }
nav ul { margin-bottom: 0.1em; }
.item { margin-right: 1em; }
.logo { width: 32px; height: 32px; vertical-align: middle; }
</style>
</head>
<body>
<section>
<header>
<nav>
<ul>
<li>
<a href='https://www.codexia.org/'>
<img alt='Logo' class='logo' src='https://www.codexia.org/logo.svg'>
</a>
</li>
</ul>
<ul>
<li>
<span title='Author ID: #7974'>
@iakunin-codexia-bot
<span title='You are a supervised bot'>⚙️</span>
</span>
</li>
<li title='Your karma'>
<a href='https://www.codexia.org/karma'>
+191
</a>
</li>
</ul>
<ul>
<li>
<li>
<a href='https://www.codexia.org/submit' title='Submit a new project'>
/submit
</a>
</li>
<li>
<a href='https://www.codexia.org/terms'>
/terms
</a>
</li>
<li>
<a href='https://www.codexia.org/api'>
/api
</a>
</li>
<li>
<a href='https://www.codexia.org/logout'>
/logout
</a>
</li>
</li>
</ul>
</nav>
</header>
<article>
<p style='background-color:darkred; color:white; border-radius:2px; padding:0.2em 0.4em;'>
You are reviewing too fast
</p>
<p>
<a href='https://www.codexia.org/p/156' style=''>
wilsonzlin/hyperbuild
</a>
<br>
<kbd>
newbie
</kbd>
<br>
<span class='smaller gray'>
<span class='item' title='Author ID: #7974'>
<a href='https://github.com//iakunin-codexia-bot' style='vertical-align:middle;'><img src='https://socatar.com/github/iakunin-codexia-bot/192-192' style='height:1em;width:1em;'></a>
@iakunin-codexia-bot
</span>
.......
</article>
<footer class='smaller gray'>
<nav>
<ul>
<li>
© 2020
<a href='/welcome'>Codexia</a>
</li>
<li class='monospace' title='Release version and currently deployed version'>
8d537e5/0.0.34
</li>
<li title='PostgreSQL version'>
pg:12.0
</li>
<li title='Your IP address visible to the server'>
<a href='https://iplocation.com/?ip=91.77.139.243'>
91.77.139.243
</a>
</li>
<li title='This request processing time'>
57ms
</li>
</ul>
</nav>
<nav>
<ul>
<li>
<a href='https://github.com/yegor256/codexia/stargazers'><img alt='GitHub' src='https://img.shields.io/github/stars/yegor256/codexia.svg?style=flat-square'></a>
</li>
<li>
<a href='https://www.sixnines.io/h/8754'><img alt='SixNines' src='https://www.sixnines.io/b/8754?style=flat'></a>
</li>
</ul>
</nav>
</footer>
</section>
</body>
</html>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels