Skip to content

Commit 259a927

Browse files
authored
Update http-requests.adoc
1 parent 9c05d1c commit 259a927

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chapters/http-requests.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ implicitly creating the resource before updating
9191
addressed by the URL with the representation passed in the payload (subsequent
9292
reads will deliver the same payload, plus possibly server-generated fields like `modified_at`)
9393
* successful {PUT} requests return {200} or {204} (if the resource was updated -
94-
with or without returning the resource), {201} (if resources have been created)
94+
with or without returning the resource), {201} (if the resource was created)
9595
or {202} (if accepted and processed asynchronously).
9696

9797
The updated/created resource may be returned as response payload. We recommend,
@@ -127,7 +127,7 @@ by the URL"_.
127127
* on a successful {POST} request, the server will create one or multiple new
128128
resources and provide their URI/URLs in the response
129129
* successful {POST} requests return {200} or {204} (if the resource was updated -
130-
with or without returning the resource), {201} (if resources have been created)
130+
with or without returning the resource), {201} (if the resource was created)
131131
or {202} (if accepted and processed asynchronously).
132132

133133
*Note:* By using {POST} to create resources the resource ID must not be passed as
@@ -378,7 +378,7 @@ conditional key>> and <<231,secondary key>> pattern before the <<230,
378378
Idempotency Key>> pattern.
379379

380380
Note, like for {PUT}, successful {POST} or {PATCH} returns {200} or {204} (if the resource
381-
was updated - with or without returning the resource), or {201} (if resources have been created).
381+
was updated - with or without returning the resource), or {201} (if resource was created).
382382
Hence, clients can differentiate successful robust repetition from resource created
383383
server activity of idempotent {POST}.
384384

0 commit comments

Comments
 (0)