From e2afda6845067e3682b4817535a542d032a2962f Mon Sep 17 00:00:00 2001 From: Todd Fredrich Date: Wed, 4 Sep 2013 14:47:05 -0600 Subject: [PATCH] Added Idempotence tutorial video. --- httpstatuscodes.html | 1 + index.html | 1 + lessons/httpmethods.html | 5 +- lessons/idempotency.html | 108 +++++++++++++++++++++++++++++ lessons/restfulresourcenaming.html | 5 +- lessons/restquicktips.html | 5 +- lessons/whatisrest.html | 5 +- resources.html | 1 + sitemap.xml | 20 +++--- 9 files changed, 135 insertions(+), 16 deletions(-) create mode 100644 lessons/idempotency.html diff --git a/httpstatuscodes.html b/httpstatuscodes.html index fcd346c..7a3bf8a 100644 --- a/httpstatuscodes.html +++ b/httpstatuscodes.html @@ -807,6 +807,7 @@
  • REST Quick Tips
  • HTTP Methods
  • Resource Naming
  • +
  • Idempotence
  • HTTP Status Codes
  • diff --git a/index.html b/index.html index 007b85a..0a0dc88 100644 --- a/index.html +++ b/index.html @@ -93,6 +93,7 @@
  • REST Quick Tips
  • HTTP Methods
  • Resource Naming
  • +
  • Idempotence
  • HTTP Status Codes
  • diff --git a/lessons/httpmethods.html b/lessons/httpmethods.html index bfb867e..3be91ce 100644 --- a/lessons/httpmethods.html +++ b/lessons/httpmethods.html @@ -42,10 +42,10 @@
    @@ -168,6 +168,7 @@
  • REST Quick Tips
  • HTTP Methods
  • Resource Naming
  • +
  • Idempotence
  • HTTP Status Codes
  • diff --git a/lessons/idempotency.html b/lessons/idempotency.html new file mode 100644 index 0000000..901107a --- /dev/null +++ b/lessons/idempotency.html @@ -0,0 +1,108 @@ + + + + + What is REST? + + + + + + + + + + + + +
    +
    +
    +

    What Is Idempotence?

    +
    + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    +

    Idempotence is a funky word that often hooks people. Idempotence is sometimes a confusing concept, at least from the academic definition.

    +

    Turns out, with respect to a REST API, idempotency just means that you can make one call to an API or many calls to that API and have the same end result. For instance, calling update (via PUT, say) with the same data will result in the same data being stored on the server.

    +

    That‚s all there is to it. Watch the video to take a humorous deeper-look at idempotence.

    +
    +
    +
    +
    +

    + ©Pearson eCollege, 2012-2013. All rights reserved. +

    +
    +
    + + + + + + Fork me on GitHub + + diff --git a/lessons/restfulresourcenaming.html b/lessons/restfulresourcenaming.html index 4ed0ae1..5419a46 100644 --- a/lessons/restfulresourcenaming.html +++ b/lessons/restfulresourcenaming.html @@ -42,10 +42,10 @@
    @@ -165,6 +165,7 @@
  • REST Quick Tips
  • HTTP Methods
  • Resource Naming
  • +
  • Idempotence
  • HTTP Status Codes
  • diff --git a/lessons/restquicktips.html b/lessons/restquicktips.html index 6da4ebb..f3e3984 100644 --- a/lessons/restquicktips.html +++ b/lessons/restquicktips.html @@ -42,10 +42,10 @@
    @@ -90,6 +90,7 @@
  • REST Quick Tips
  • HTTP Methods
  • Resource Naming
  • +
  • Idempotence
  • HTTP Status Codes
  • diff --git a/lessons/whatisrest.html b/lessons/whatisrest.html index 0b477f1..4813efd 100644 --- a/lessons/whatisrest.html +++ b/lessons/whatisrest.html @@ -42,10 +42,10 @@
    @@ -134,6 +134,7 @@
  • REST Quick Tips
  • HTTP Methods
  • Resource Naming
  • +
  • Idempotence
  • HTTP Status Codes
  • diff --git a/resources.html b/resources.html index b2f5dd0..4ab7925 100644 --- a/resources.html +++ b/resources.html @@ -73,6 +73,7 @@
  • REST Quick Tips
  • HTTP Methods
  • Resource Naming
  • +
  • Idempotence
  • HTTP Status Codes
  • diff --git a/sitemap.xml b/sitemap.xml index ab23092..7a21796 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -6,34 +6,38 @@ http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> http://www.restapitutorial.com/ - 2012-06-18T17:42:02+00:00 + 2013-09-04T14:55:39+00:00 http://www.restapitutorial.com/lessons/whatisrest.html - 2012-06-18T18:39:08+00:00 + 2013-09-04T14:55:39+00:00 http://www.restapitutorial.com/lessons/restquicktips.html - 2012-06-18T17:55:38+00:00 + 2013-09-04T14:55:39+00:00 http://www.restapitutorial.com/lessons/httpmethods.html - 2012-06-18T17:55:39+00:00 + 2013-09-04T14:55:39+00:00 http://www.restapitutorial.com/lessons/restfulresourcenaming.html - 2012-06-19T17:55:39+00:00 + 2013-09-04T14:55:39+00:00 + + + http://www.restapitutorial.com/lessons/idempotency.html + 2013-09-04T14:55:39+00:00 http://www.restapitutorial.com/httpstatuscodes.html - 2012-06-18T19:22:41+00:00 + 2013-09-04T14:55:39+00:00 http://www.restapitutorial.com/resources.html - 2012-06-18T18:44:40+00:00 + 2013-09-04T14:55:39+00:00 http://www.restapitutorial.com/index.html - 2012-06-18T17:42:02+00:00 + 2013-09-04T14:55:39+00:00 \ No newline at end of file