🎙️
7

Vent: my first REST API call took 4 days because of one missing header

After spending 3 weeks grinding through Python tutorials, I finally tried to build a weather app and the JSON came back empty every single time, until a stranger on Reddit pointed out I forgot the Content-Type header, so has anyone else hit a wall like this where the fix was embarrassingly simple?
2 comments

Log in to join the discussion

Log In
2 Comments
harper693
harper69323d ago
Wait, is anyone actually reading the docs these days... or did the error message itself tell you what header was missing? Honestly, 4 days for a missing header sounds like a win... some people spend weeks chasing a 500 error that turns out to be a typo in their own URL. But hey, at least now you'll never forget it again, right?
3
the_jordan
the_jordan22d ago
Wait, FOUR DAYS? For a missing header? That's wild lol. I probably would have rage quit by hour two and blamed the API for something completely unrelated.
10