Discussions

Ask a Question
Back to All

Why is my Flappy Bird game API returning a 200 OK with an empty JSON response?

Hey everyone, I’m currently testing the score submission endpoint for a flappy bird-style game using Postman. The API is supposed to accept a player’s score and return a confirmation message in JSON. I’m sending a POST request with valid data (player_id, score), and I do get a 200 OK response — but the body is completely empty. No error, no confirmation, just {}.

I've double-checked the headers (Content-Type: application/json) and the request payload seems clean. Is this likely an issue with the backend not returning the proper response object, or could it be something I'm missing in Postman? Appreciate any insight — it's kind of throwing off my whole test flow.