18
Zidail
8y

Spent hours trying to figure out why API calls to a third party service weren't working.

Hit up their support and find out the following:

"Hi there, we can only take true and false as strings."

"Uhmm... Does it take anything apart from true or false?"

"No, but they must be sent in as strings"

"Any reason why you don't take booleans if it's just true or false?"

*crickets chirping*

GFG

Comments
  • 9
    Simple!

    It's prepared to be consumed globally.
    Russians can send 'правдо', Germans can send 'wahr' and usa 'great again'.
    So everyone in this world can happily access the functionality of this lovely API

    xD
  • 1
    @TylerDDevRant lol, if only it was made for that purpose. That service handling translations/localized strings is a different devRant for another time.
Add Comment