Compare commits

...

4 Commits

Author SHA1 Message Date
702cdc3e72 Fix requirements 2022-06-17 22:40:37 +00:00
3872609fc6 Freeze requirements 2022-06-17 22:38:07 +00:00
909d282edd Add Perl dev testimonial 2022-05-20 00:00:44 +00:00
9e29052ae3 Change error message 2022-05-20 00:00:30 +00:00
4 changed files with 21 additions and 1 deletions

8
server/requirements.txt Normal file
View File

@@ -0,0 +1,8 @@
click==8.1.3
Flask==2.1.2
importlib-metadata==4.11.4
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.1
Werkzeug==2.1.2
zipp==3.8.0

View File

@@ -57,7 +57,7 @@ def isEven(number):
return res
except:
res = jsonify(dict(
error='Invalid number.',
error='what is this I don\'t even',
))
res.status_code = 400
return res

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -401,6 +401,18 @@ $ curl https://api.isevenapi.xyz/api/iseven/6/
</div> <!-- end of swiper-slide -->
<!-- end of slide -->
<!-- Slide -->
<div class="swiper-slide">
<div class="image-wrapper">
<img class="img-fluid" src="images/testimonial-5.jpg" alt="alternative">
</div> <!-- end of image-wrapper -->
<div class="text-wrapper">
<div class="testimonial-text">I usually hate using APIs and trying new things. I prefer to keep all dependencies to a minimum. But when my friend on IRC mentioned isEven API, I just had to test it out. And I'm glad I did!</div>
<div class="testimonial-author">Dusty Anderson - Perl Developer</div>
</div> <!-- end of text-wrapper -->
</div> <!-- end of swiper-slide -->
<!-- end of slide -->
<!-- Slide -->
<div class="swiper-slide">
<div class="image-wrapper">