Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I feel you, I once worked with an API that returns 200 on a post request but the body contains error: internal server error.
Like they could literally just returned status 500 instead of that shit -
@gitpush A simple web app I made recently for my company was using one of our third party API's. It was the same shit. It returned 200, no matter what. I had to add conditionals on if they added an error element to it...
-
@gitpush Tell me about it, I was so confused at first because I had never dealt with a retarded setup like that before.
My success condition would run but then all the data would be undefined and I was just like wtf?
Had to add extra validation checks on every endpoint call -
@justsomeguy lool that WTF moment is not a nice one at all
Some people are better not be devs at all π
Look, PHPVirtualbox, i love you and all and you've worked very well for me for ages.
But, when I see the authentication is successful and you receive an 'OK', YOU'RE NOT SUPPOSED TO THROW A FUCKING "USERNAME OR PASSWORD WRONG" ERROR.
YOU'RE SUPPOSED TO LET ME FUCKING THROUGH.
MOTHERFUCKER.
rant