Compare commits

...

2 Commits

Author SHA1 Message Date
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
3 changed files with 13 additions and 1 deletions

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">