Skip to content

Commit b7c20ee

Browse files
authored
Merge pull request #3997 from ralfhandl/3.0.4/consistent-formatting
3.0.4: Improved request-response example
2 parents fe10c1c + 66c8168 commit b7c20ee

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

versions/3.0.4.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,17 +2036,21 @@ For example, given the following HTTP request:
20362036
POST /subscribe/myevent?queryUrl=https://clientdomain.com/stillrunning HTTP/1.1
20372037
Host: example.org
20382038
Content-Type: application/json
2039-
Content-Length: 187
2039+
Content-Length: 188
20402040
20412041
{
2042-
"failedUrl" : "https://clientdomain.com/failed",
2043-
"successUrls" : [
2042+
"failedUrl": "https://clientdomain.com/failed",
2043+
"successUrls": [
20442044
"https://clientdomain.com/fast",
20452045
"https://clientdomain.com/medium",
20462046
"https://clientdomain.com/slow"
20472047
]
20482048
}
2049+
```
2050+
2051+
resulting in:
20492052

2053+
```http
20502054
201 Created
20512055
Location: https://example.org/subscription/1
20522056
```

0 commit comments

Comments
 (0)