Last active
February 23, 2019 21:31
-
-
Save wetzler/6629918 to your computer and use it in GitHub Desktop.
a key with magical powers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| d90e5b5598497773de1c57407dd54d65934ba1b5911f6f47311d3c729f510bb5c295284780017a56f17e49234f19c009bfa57f7941413a5dd3c282d7db3692a192b58ea926b637cdcd11377e1e74086641e0672c8b3406aeed49d63ee0a3a3d3751ae7744f08b999df38ca2ccdbb9a2c |
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/
Cool.. π I just found out about this.. π
{
"created": true
}
Just stumbled upon this as well....great easter egg!
{ "created": true }
Very cool, indeed! π₯ π
{ "created": true }
AWESOME!!!!
@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.
{"created": true}
I'm late to the party as usual...
Nice easter egg tho!
{"created": true}
great fun.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Neat! I did get a 201 though :)