Skip to content

Commit

Permalink
Merge pull request #3997 from ralfhandl/3.0.4/consistent-formatting
Browse files Browse the repository at this point in the history
3.0.4: Improved request-response example
  • Loading branch information
ralfhandl authored Aug 7, 2024
2 parents fe10c1c + 66c8168 commit b7c20ee
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions versions/3.0.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -2036,17 +2036,21 @@ For example, given the following HTTP request:
POST /subscribe/myevent?queryUrl=https://clientdomain.com/stillrunning HTTP/1.1
Host: example.org
Content-Type: application/json
Content-Length: 187
Content-Length: 188
{
"failedUrl" : "https://clientdomain.com/failed",
"successUrls" : [
"failedUrl": "https://clientdomain.com/failed",
"successUrls": [
"https://clientdomain.com/fast",
"https://clientdomain.com/medium",
"https://clientdomain.com/slow"
]
}
```

resulting in:

```http
201 Created
Location: https://example.org/subscription/1
```
Expand Down

0 comments on commit b7c20ee

Please sign in to comment.