From 7b7cff1c946683664e488db24ca7aacb529f9d69 Mon Sep 17 00:00:00 2001 From: Todd Fredrich Date: Sat, 30 Dec 2017 20:59:20 -0700 Subject: [PATCH] Added FB Pixel code to remaining pages. --- apiconsulting.html | 23 ++++++++++++++++++++--- httpmethods.html | 19 ++++++++++++++++++- httpstatuscodes.html | 23 ++++++++++++++++++++--- lessons/httpmethods.html | 17 +++++++++++++++++ lessons/idempotency.html | 25 +++++++++++++++++++++---- lessons/restfulresourcenaming.html | 23 ++++++++++++++++++++--- lessons/restquicktips.html | 23 ++++++++++++++++++++--- lessons/whatisrest.html | 23 ++++++++++++++++++++--- resources.html | 17 +++++++++++++++++ restapiwebinar.html | 17 +++++++++++++++++ restquicktips.html | 19 ++++++++++++++++++- 11 files changed, 208 insertions(+), 21 deletions(-) diff --git a/apiconsulting.html b/apiconsulting.html index f81a179..90070fb 100644 --- a/apiconsulting.html +++ b/apiconsulting.html @@ -19,18 +19,35 @@ + + + +
diff --git a/httpmethods.html b/httpmethods.html index 303aae5..081ae27 100644 --- a/httpmethods.html +++ b/httpmethods.html @@ -3,6 +3,23 @@ Moved to new URL: http://www.restapitutorial.com/lessons/httpmethods.html + + + +

This page has been moved to http://www.restapitutorial.com/lessons/httpmethods.html

@@ -10,4 +27,4 @@ click here, sorry for the hassles!

- \ No newline at end of file + diff --git a/httpstatuscodes.html b/httpstatuscodes.html index 8025407..2071ab4 100644 --- a/httpstatuscodes.html +++ b/httpstatuscodes.html @@ -22,18 +22,35 @@ + + + +
diff --git a/lessons/httpmethods.html b/lessons/httpmethods.html index dae78d4..32f454a 100644 --- a/lessons/httpmethods.html +++ b/lessons/httpmethods.html @@ -31,6 +31,23 @@ })(); + + + +
diff --git a/lessons/idempotency.html b/lessons/idempotency.html index 03acb0d..b854d11 100644 --- a/lessons/idempotency.html +++ b/lessons/idempotency.html @@ -19,18 +19,35 @@ + + + +
@@ -83,7 +100,7 @@

The PUT and DELETE methods are defined to be idempotent. However, there is a caveat on DELETE. The problem with DELETE, which if successful would normally return a 200 (OK) or 204 (No Content), will often return a 404 (Not Found) on subsequent calls, unless the service is configured to "mark" resources for deletion without actually deleting them. However, when the service actually deletes the resource, the next call will not find the resource to delete it and return a 404. However, the state on the server is the same after each DELETE call, but the response is different.

GET, HEAD, OPTIONS and TRACE methods are defined as safe, meaning they are only intended for retrieving data. This makes them idempotent as well since multiple, identical requests will behave the same.

-
+