Skip to content

Instantly share code, notes, and snippets.

@wetzler
Last active February 23, 2019 21:31
Show Gist options
  • Save wetzler/6629918 to your computer and use it in GitHub Desktop.
Save wetzler/6629918 to your computer and use it in GitHub Desktop.
a key with magical powers
d90e5b5598497773de1c57407dd54d65934ba1b5911f6f47311d3c729f510bb5c295284780017a56f17e49234f19c009bfa57f7941413a5dd3c282d7db3692a192b58ea926b637cdcd11377e1e74086641e0672c8b3406aeed49d63ee0a3a3d3751ae7744f08b999df38ca2ccdbb9a2c
@IshamMohamed
Copy link

IshamMohamed commented Oct 27, 2017

I now see a good API design. Getting a 201 with {"created": true}. The previous response code was 204 (even its how its documented https://keen.io/docs/api/?shell#wardrobe-resource) its not suitable and good you've corrected.

Good read - http://blog.ploeh.dk/2013/04/30/rest-lesson-learned-avoid-204-responses/

@inche-ali
Copy link

Cool.. 👍 I just found out about this.. 😍

@dustinsterk
Copy link

{
"created": true
}

Just stumbled upon this as well....great easter egg!

@narenchoudhary
Copy link

{ "created": true }

Very cool, indeed! 🥚 😍

@GuyKh
Copy link

GuyKh commented Nov 20, 2018

{ "created": true }

AWESOME!!!!

@ssiddhantsharma
Copy link

@GuyKh @narendrachoudhary Would you help me! Since you are the only guys who have done it this year,
I am getting invalid key responses and I am using Online Curl.

@iadityavs
Copy link

{"created": true}

I'm late to the party as usual...
Nice easter egg tho!

@ashleymavericks
Copy link

ashleymavericks commented Feb 18, 2019

{"created": true}

great fun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment