• NigelFrobisher@aussie.zone
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 days ago

    Technically correct, as the request processed successfully and returned the outcome. TBH this is just one reason why HTTP is a bad RPC medium; for some reason we keep reinventing SOAP even though no-one liked it the first time around.

  • Hazzard@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    GraphQL man… the whole thing does this by design. Just in the last week I had to implement a custom retry function because the python requests one very reasonably doesn’t consider a 200 status code to be an error.

  • 4am@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    3 days ago

    When devs insist that HTTP is just a transport protocol for their sophisticated API they designed from the ground up for eFFiCiEnCy

  • 777@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    3 days ago

    I especially like the idea some sadist is serving JSON with left and right double quotation marks from Unicode. It’s the next level up from an api I used where no results was a null, one result was a single object on its own, and multiple results was an array of objects.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      You’ve (perhaps unintentionally) marked you account as a bot in the settings. If people have the option to not show bots enabled they won’t see you.