19

Have to use a 3rd party API which responds to all requests like

{
status: 200,
data:{
status: 'fail' / 'pass',
data: { data}
}

Should I be sad?

P.S. They ask for a 'userName'

Comments
  • 12
  • 4
    Don't be sad. Rage, rage against this fucking awful bullshit.

    Never accept.
  • 3
    I've seen this shit way too many times. Sometimes by large companies that have the funding to know/do better.
  • 1
    Let me guess... They didn't manage to solve a circular dependency issue with doctrine.
  • 3
    @dmonkey pretty sure they don't even know what that is..
  • 4
    data.data.data.data.dtata.adta.atadta.adatadatadat.ttdatdatdatadta
  • 2
    Do they also ask for a ‘passWord’?
  • 3
    The devrant API does:

    {"Success":true, ... }

    For every call.
  • 3
    My API does:

    { "rawdata": { ... } }
    When it is just proxying data.
Add Comment