You Give REST a Bad Name

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ •

  • @veneoth
    @veneoth 7 років тому +1163

    "you say it works in a restful way, then your errors come back as 200 OK" = GOLD

    • @joshbrown4144
      @joshbrown4144 6 років тому +35

      You mean "==", right?

    • @comensky
      @comensky 6 років тому +9

      @@joshbrown4144 or alternatively {
      gold = '200 OK';
      )

    • @kasrus
      @kasrus 5 років тому +22

      Been there, consumed that...

    • @progdrummer-nenad
      @progdrummer-nenad 5 років тому +2

      true story

    • @eddygtube
      @eddygtube 5 років тому +12

      @@joshbrown4144 You mean "===" right?

  • @mcamporelli
    @mcamporelli 6 років тому +530

    I can never listen to Bon Jovi the same way again... :-D
    That "you promised me JSON, then sent XML" line is epic!

    • @FadingAway90
      @FadingAway90 5 років тому +17

      anyone who has worked with a 3rd party API can relate

    • @TerjeMathisen
      @TerjeMathisen 4 роки тому +18

      Been there, had to handle that in a B2B API stack. The vendor promised to always send us JSON but every once in a while they would reset that flag, send us the default XML and nothing would work until we had explained to them once more that we really meant it. :-(

    • @davidmiller3560
      @davidmiller3560 2 роки тому +5

      @@TerjeMathisen feel you.
      The reason I handle REST manually. My coworkers use generated classes for their APIs but it would literaly explode with this special API. The third party just don't care for any convention..

  • @karmicxkoala
    @karmicxkoala 4 роки тому +71

    "You promised me json then sent xml"
    Story of my whole career

  • @DoubleM55
    @DoubleM55 4 роки тому +17

    Your data won't even deserialize! :)
    I remember one guy who built JSON response by concating string like "{\"username\":" + str(user) + "...
    Of course, you can guess what happens when some variable contains quotation mark etc. It was truly hilarious.

  • @Tsole
    @Tsole 7 років тому +201

    9 people still work with SOAP APIs

    • @mils3318
      @mils3318 6 років тому +2

      hahahahhah

    • @theslobotfather
      @theslobotfather 6 років тому +18

      this comment does not update, please update it to v26

    • @poorez_11
      @poorez_11 5 років тому +5

      i hate soap

    • @ukazap
      @ukazap 5 років тому +4

      Now v42

    • @TeDynef
      @TeDynef 5 років тому +3

      soap has it purposes. Thrust me. Used well its good but its no replace for REST APIs.

  •  4 роки тому +49

    I just can't understand how anyone could dislike this video

    •  3 роки тому +26

      Wrong API call

    • @BertF1966
      @BertF1966 2 роки тому +3

      As the only coder in my family I can categorically say that they would ALL hate it unconditionally 🤣🤣🤣🤣

    • @borjabravo9426
      @borjabravo9426 Рік тому +4

      They felt it as a personal attack :)

    • @tomasstana5423
      @tomasstana5423 9 місяців тому +3

      These are the accidental viewers who are not programmers and do not get it.

  • @rodahanz6910
    @rodahanz6910 Рік тому +24

    I can't help but to wonder if there was a service in mind when this parody was created. I know I can think of a couple of vendor's services that deserve a dedication of this song

    • @adamzaczek6342
      @adamzaczek6342 5 місяців тому +2

      It's the SharePoint API. It's got to be.

  • @Chantler56
    @Chantler56 7 років тому +146

    Please keep these coming, they're gold and my team loves them!

  • @FluffyShadowSky
    @FluffyShadowSky 3 місяці тому +2

    I sent this to a software engineer having a hard day with network development, he laughed for the first time in a month and a half

  • @trudyandgeorge
    @trudyandgeorge Місяць тому +1

    This video is so cathartic! I'm dealing with an API that does all the wrong things (AlphaESS battery control). Despite it's utter insane / nonsensical behaviour, its payloads do deserialise :D We have come a long way on that front thanks to all the libre / open source libraries ...rarely would an underpaid, rushed dev write their own [json | xml | ...] parser. Thank god for that.

  • @electron0zero
    @electron0zero 7 років тому +104

    Now I have to wrap it in GraphQL

  • @badyrovjr.4426
    @badyrovjr.4426 2 роки тому +11

    Deserves much more views than it has right now

  • @Pubah8
    @Pubah8 7 років тому +27

    7 people know their APIs are in the hall of shame

  • @georglausegger2903
    @georglausegger2903 3 роки тому +7

    Such great :D Listening to the song in an endless loop while integrating whatever that should be - yes exactly....

  • @meerabellenbaum6092
    @meerabellenbaum6092 4 роки тому +4

    This song made my day! Reminds me of too many projects..

  • @zS39SBT4fe5Zp8Q
    @zS39SBT4fe5Zp8Q 4 роки тому +33

    This hits the feels way more than the original. 🤘🤘🤘

  • @sunbang9000
    @sunbang9000 7 років тому +97

    I can not wait your next song: It's my api.

    • @ShinEduKen
      @ShinEduKen 7 років тому +5

      Wanted 400 or 200

    • @markgarv3238
      @markgarv3238 7 років тому +2

      AngusYoung84 its 404 but whatevs

    •  3 роки тому +1

      I just wanna serve when I'm alive!

  • @jnicoulakos
    @jnicoulakos 6 років тому +4

    I first saw this when I had to do API testing in SQL to to verify if the issue was a front end UI issue or the Stored Procedures issue. lol This was funny!

  • @seancharles1595
    @seancharles1595 Рік тому +1

    When I resign from my current (wonderful) job I am going to email a link to this to a certain service provider we use (not wonderful). It's as though you wrote if just for them. Love it.

  • @coder8515
    @coder8515 3 роки тому +8

    Haha! I'm wordless how much I enjoyed this... Thank you, Dylan.

  • @mattr2238
    @mattr2238 4 роки тому +7

    "Why do all of your C programs have a bunch of assembly language dependancies?"
    "Because compilers are all slow"
    "And your handwritten assembly is faster?"
    "Much faster. I wanted to use Fortran, but management wouldn't let me."
    "You do know that modern Fortran compilers are written in C, right?"
    Pulls out punch card...

  • @IoannisCherouvim
    @IoannisCherouvim 7 років тому +27

    This is gold.

  • @KHeavy
    @KHeavy 4 роки тому +7

    Saw this at NDC London last night and couldn't stop laughing! Amazing job mate.

  • @verry_codes
    @verry_codes 3 роки тому +8

    I truly love this song so much 😂

  • @jannikmeissner
    @jannikmeissner 4 роки тому +3

    I just now realised that there even was an original… I didn't realise this was based on a Bon Jovi song…

  • @alexey4562
    @alexey4562 6 років тому +1

    Hello from CodeFest 2018. it was a nice live show at bar. Thank you for cool songs!

  • @motsuaboshi8976
    @motsuaboshi8976 4 роки тому +2

    I've listened to several web development songs in the last few minutes, this one is excellent ^^

  • @martinshaw6353
    @martinshaw6353 8 місяців тому

    Some band played the Bon Jovi version in the pub I was in last night and all I could hear in my head was this version 😂

  • @Meaxis
    @Meaxis 3 роки тому +4

    I'm rebuilding my API. This serves as a guide of "What not to do."

  • @trevorpeterson1004
    @trevorpeterson1004 3 роки тому +2

    This is the greatest thing I have ever seen.

  • @ВиталийПугач-к8ю
    @ВиталийПугач-к8ю 7 років тому +17

    Это шедеврально!

  • @ukakkad2010
    @ukakkad2010 5 років тому +6

    This is too good Bon Jovi should listen to this

  • @verryondrums
    @verryondrums 4 роки тому +10

    Oh my god this is soooo good xD! Let me know if you need a drummer someday... 😄

  • @MilenaPetrovic-g2m
    @MilenaPetrovic-g2m 9 місяців тому

    Story of my current project LOL This is pure gold. I can't stop laughing and crying tbh

  • @lightfoxZZ
    @lightfoxZZ 7 місяців тому

    This is abolutely awesome and really made me laught, thank you so much for this, the lyrics are pure gold xD

  • @Drokkstar_
    @Drokkstar_ 6 років тому +17

    This made me 'api.

  • @folgadev
    @folgadev 4 роки тому

    I logged on UA-cam just to like and subscribe to this Gold channel.

  • @joaoarguimaraes
    @joaoarguimaraes Рік тому +1

    I'll just drop this song on a chat group that we have with a third part integration...

  • @ustpcz9739
    @ustpcz9739 3 місяці тому

    I might need to steal this for my next code review.

  • @BikeGremlinRS
    @BikeGremlinRS 3 роки тому

    How come the dark waters of UA-cam's auto-play hadn't brought me sooner to this bug-free channel! :)
    ...Hello help-desk my old friend,
    I've come to talk with you again...

  • @owenhebert830
    @owenhebert830 3 роки тому +1

    Thanks for putting this out there. Great work!

  • @Tecnocrazia
    @Tecnocrazia Рік тому +2

    Still listening in 2023

  •  6 років тому +4

    This is pure gold

  • @mathcitadel2663
    @mathcitadel2663 7 років тому +2

    Fantastic job and production.

  • @benwang2118
    @benwang2118 5 років тому +3

    I feel like this is how MediaWiki API works

  • @DanielMalkafly
    @DanielMalkafly 3 роки тому +1

    i think i gonna cry

  • @Dimich1993
    @Dimich1993 5 років тому +3

    This is better than I'd expected.😂

  • @maksimepikhin
    @maksimepikhin Рік тому +3

    😂😂😂 гениально) спасибо за хорошее настроение

  • @AhmedToulan
    @AhmedToulan 7 років тому +9

    I wish I can like it a 1000 times :D

  • @maenolis
    @maenolis 7 років тому +4

    This is way too good!

  • @447GHT
    @447GHT 4 роки тому +1

    I’m looking at YOU, boardGameGeek API

  • @ChronologicalLogic
    @ChronologicalLogic 4 роки тому +1

    this is so niche and I love it

  • @ObjectiSkeptic
    @ObjectiSkeptic 7 років тому +1

    This is awesome! It's what devs like me have to put up with.

  • @dndhndn
    @dndhndn 3 роки тому

    Those who dislike this video are the backend programmers who returns errors with 200 OK and writes only POST method to all endpoints.

  • @estudotsi
    @estudotsi 2 роки тому

    Greetings from Brazil, very, very, real very funny, lol

  • @mralexoficiall
    @mralexoficiall Рік тому

    The FIS API is exactly like this!

  • @AndersonLima-xu1iv
    @AndersonLima-xu1iv 3 роки тому +1

    interesting that in the original audio by Bon Jovi.. there is the word "sublime"

  • @michaelulloa12
    @michaelulloa12 2 роки тому

    What a gem

  • @marodga
    @marodga 4 роки тому +3

    I want to be in your team 😂, fucking genius

  • @LiEnby
    @LiEnby 3 роки тому +1

    PlayStation Store 'Buy now" returns "200 OK" even if it errors

  • @markoshivapavlovic4976
    @markoshivapavlovic4976 3 роки тому

    Broken methods missing docs update fails on every failing POST request. -- could be updated to something like this in case of some APi's that exist today.

  • @UTCUTR
    @UTCUTR 3 роки тому

    You made my day. God bless you.

  • @mrbuerger
    @mrbuerger 3 роки тому

    I know a business who developed a api only using GET method for every CRUD action.

  • @adrunkenloner
    @adrunkenloner 3 роки тому

    I dont know nothing about programing but it sounds kinda cool

  • @alexmohr2308
    @alexmohr2308 4 роки тому +1

    this reminds me of the wunderground API =)

  • @yeeesssssss
    @yeeesssssss Рік тому

    let's make this the anthem for rest apis

  • @simondavidvgm
    @simondavidvgm 3 роки тому

    This song is 200 OK 👌

  • @svendsen1111
    @svendsen1111 7 років тому +1

    This fucking made my day!

  • @HasmatuchiAlexandru
    @HasmatuchiAlexandru 5 років тому +1

    43 people do delete with a post call

  • @juha-mattisainio7582
    @juha-mattisainio7582 3 роки тому

    That is so true, unfortunately...

  • @ArcheryLuna
    @ArcheryLuna 3 роки тому +1

    Imagine if this works on rockstar

  • @gil0mendes
    @gil0mendes 7 років тому

    This is possible the best frond of today. 😂😂 Nice work... 👏👏

  • @Speedsoftware
    @Speedsoftware 6 років тому +1

    This song could be about jenkins API...

  • @SyntaxSeed
    @SyntaxSeed 5 років тому

    Wins the internet.

  • @Michael80B
    @Michael80B 3 роки тому

    So nerdy! Love it

  • @anastasiosmelissopoulos4660
    @anastasiosmelissopoulos4660 7 років тому +4

    Ο εντερπενερ με εφερε εδώ

  • @ryanoc333
    @ryanoc333 7 років тому +1

    So good and relatable!

  • @Ярослав-х2ф8д
    @Ярослав-х2ф8д 6 років тому +1

    Pure awesomeness

  • @HestonSinurayaJogja
    @HestonSinurayaJogja 3 роки тому

    even to these days, there are so many developer sent response code 200 for error lol

  • @brunosalomao89
    @brunosalomao89 4 роки тому

    In my machine works...
    then we will deliver your machine
    Then born Docker rsrs

  • @jorgecuevas8430
    @jorgecuevas8430 7 років тому +7

    Duuude, why is this not on Spotify?

    • @DylanBeattie
      @DylanBeattie  7 років тому +4

      Can't get on Spotify without a record deal or a distributor/aggregator agreement - there's no way for individuals to share their own music directly. I'm working on it but don't hold your breath :)

    • @Meaxis
      @Meaxis 4 роки тому

      @@DylanBeattie I did share it individually (without any producer), check RouteNote, made the worse music ever yet got it on Spotify so yours will pass easily. Can't wait to add them to my playlist!

  • @jayextarys8616
    @jayextarys8616 6 років тому

    Best song every!

  • @MarcelSHenselin
    @MarcelSHenselin 2 роки тому

    Man, this is worth a follow :-D 😀

  • @frankhaugen
    @frankhaugen 5 років тому +1

    Could have been a Weird Al -song :-D

  • @BenediktusAnindito
    @BenediktusAnindito 4 роки тому

    i wish i can add GIF comment but i can't.. this is hillarious wkwk

  • @ThisRemake
    @ThisRemake 5 років тому +32

    Lyrics:
    Your API is a hall of shame
    (Darling) You give REST a bad name
    This Integration is going to Hell
    You promised me JSON then sent XML
    You say it works in a restful way
    then your errors come back as 200 - OK
    WO-OO-WHOA! It's no surprise!
    Method names in URIs
    Your data won't even deserialize
    Your API is a hall of shame
    You give REST a bad name
    It falls apart and we take the blame
    You give REST a bad name
    You give REEEEEST a bad name
    Broken methods, missing docs
    Updates fail 'cos of database locks
    Breaking changes every time
    Your every release takes our system offline
    WO-OO-WHOA! It's no surprise!
    Method Names in URIs
    Your Data won't even deserialize
    Your API is a hall of shame
    You give REST a bad name
    It falls apart and we take the blame
    You give REST a bad name
    You give REEEEEST
    Your API is a hall of shame
    You give REST a bad name
    It falls apart and we take the blame
    You give REST a bad name
    Your API is a hall of shame
    You give REST a bad name
    It falls apart and we take the blame
    You give REST a bad name
    WHOA-OH-OH-UH-WOAH-OH-UH
    WHOA-OH-OH-UH-WOAH-OH-UH
    WHOA-OH-OH-UH-WOAH-OH-UH
    Your API is a hall of shame
    You give REST a bad name

  • @GroupNebula563
    @GroupNebula563 Рік тому

    We have to deal with a program that is absolutely ABYSMAL. There’s a client that then talks to a server which acts as a compatibility layer because the client is very old and higher IT refuses to replace it and then that layer talks to the server. The only problem is the compatibility layer is SUPER finicky with HTTP response codes, and it has to have a 0 before the code or it interprets it as a 500. It’s a nightmare, because it then logs the code it interprets and not the one it receives. So HTTP 200 is logged as HTTP 500, but HTTP 0200 is logged as the correct code (HTTP 200). We had to implement a custom web server that gives 4 digit response codes because of this. If it tries to talk to something outside of our servers, getting it to work is an absolute nightmare.

    • @GroupNebula563
      @GroupNebula563 Рік тому +1

      Oh, and in case you’re wondering what web server uses 4 digit response codes, none do. It was a bug in the layer and by the time we figured out what was happening the guy that made it had quit

  • @SergeiKjtydghk
    @SergeiKjtydghk 6 років тому

    Это шедевр!

  • @riddlesofthepast
    @riddlesofthepast 4 роки тому

    entertaining AND educational!

  • @huggy406
    @huggy406 5 років тому

    how do i like a video more than once?

    • @humm535
      @humm535 3 роки тому

      You create multiple accounts and like with each one.

  • @FilipMarzec_
    @FilipMarzec_ 5 років тому

    this is GOLD

  • @QuietNoiz
    @QuietNoiz 5 років тому +1

    Loved it! #RESTDeveloper.😜

  • @zero-lpds
    @zero-lpds 4 роки тому +1

    Hey mate, this song is fantastic!
    Could I contact you somewhere directly please?
    I would like your written permission to use part of this song in my podcast.
    Also, if you would be interested, it would be fab to have you as a guest on our show?
    Cheers

  • @ryt-is
    @ryt-is 4 роки тому

    This did not compile with Rockstar...

  • @michalgdynia1
    @michalgdynia1 5 років тому

    :) awesome remix!

  • @aj.arunkumar
    @aj.arunkumar 3 роки тому

    hey if you loved this check out 'i love angular js' by ben awad. that one is hip hop lol

  • @Blockah
    @Blockah 3 роки тому +1

    178th commenter: SUP YALL

  • @andre_601
    @andre_601 7 місяців тому

    I have to admit, that I made some of the mistakes mentioned in this song...

  • @_samirdahal
    @_samirdahal 4 роки тому

    Update: 88 people still send Errors as 200 OK

  • @felipe-ribeiro
    @felipe-ribeiro 3 роки тому

    😂😂😂 The best !!!