500 ERROR

Api Exception Error Classes Dart

When working with APIs we often use try-catch blocks to catch any error that may occur, it is the standard practice and I for one cant count the number of time it has saved me from my application just crashing. One day a colleague of mine told me that he isn’t a big fan of using try-catch and refrains from using it unless its absolutely necessary, he stated that he would rather check whatever error that may occur that use a try-catch. ...

June 17, 2025 · 3 min · 634 words · Me
cors image

Cors Explained

Cross-Origin Resource Sharing Explained If you’ve ever worked with APIs—whether consuming them or building your own—you’re probably familiar with this frustrating error message: Access to fetch at 'http://api.example.com/data' from origin 'https://<your-website.com>' has been blocked by CORS policy. No 'Access-Control-Allow-Origin' header is present on the requested resource. I, for one, know how much I’ve suffered because of this error. I finish building my API, everything works perfectly when tested with Postman, but the moment I try it in the browser—BOOM—I get an error, or worse, nothing shows up. The data isn’t sent properly. I open the browser’s devtools, check the console, and it’s usually this dreaded error. ...

June 3, 2025 · 4 min · 752 words · Me

Things That Broke and What They Taught Me

Things That Broke and What They Taught Me (Besides Humility) If you’ve ever stared at an error message and thought, “I have absolutely no idea what’s happening,” congratulations: you are officially a programmer. In this post, I’m sharing a few of my favorite “learning moments” — which is a nicer way of saying “times when everything broke and I had to figure out why.” These aren’t epic system crashes or million-dollar bugs (yet, thankfully). They’re the small, annoying, sometimes hilarious hiccups that taught me a lot more than things going right ever could. ...

May 15, 2025 · 3 min · 566 words · Me

How to Create an Api With Php

In this tutorial, I will teach you how to build a simple REST API in what has been called a “dead language.” That’s right, I’ll be guiding you on how to build a simple API in PHP. The API in this tutorial is inspired by the one I built recently for a project. You can scale this API to meet your needs and make it more robust if you need to. ...

May 14, 2025 · 9 min · 1780 words · Me
cors image

Getting Started With Flask

👋 Introduction Ever wanted to build a website but didn’t feel like wrestling with JavaScript frameworks, or felt slightly terrified by Django’s size and complexity? Same. Let me introduce you to Flask—a lightweight Python web framework that’s easy to learn, beginner-friendly, and surprisingly powerful. With just a few lines of code, you can spin up a simple web app and start building actual stuff. In this post, we’ll talk about: ...

May 9, 2025 · 3 min · 527 words · Me
hello world

Hello World! (Yes, It’s a Cliché. No, I Don’t Care.)

Hey there! 👋 Welcome to my corner of the internet, where I document the things I build, break, and learn while navigating the weird and wonderful world of software development. I’m David Adewumi, a developer-in-progress with a passion for solving problems, writing code, and sometimes yelling at my terminal until things start working again. So… why this blog? Good question. This blog is my way of: Practicing “learning in public” Showing off some cool projects (and the mess behind them) Writing things down so future-me doesn’t repeat current-me’s mistakes Creating something I can share with recruiters, mentors, and fellow devs What to expect here You’ll find: ...

May 8, 2025 · 1 min · 198 words · Me