We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe10c1c + 66c8168 commit b7c20eeCopy full SHA for b7c20ee
versions/3.0.4.md
@@ -2036,17 +2036,21 @@ For example, given the following HTTP request:
2036
POST /subscribe/myevent?queryUrl=https://clientdomain.com/stillrunning HTTP/1.1
2037
Host: example.org
2038
Content-Type: application/json
2039
-Content-Length: 187
+Content-Length: 188
2040
2041
{
2042
- "failedUrl" : "https://clientdomain.com/failed",
2043
- "successUrls" : [
+ "failedUrl": "https://clientdomain.com/failed",
+ "successUrls": [
2044
"https://clientdomain.com/fast",
2045
"https://clientdomain.com/medium",
2046
"https://clientdomain.com/slow"
2047
]
2048
}
2049
+```
2050
+
2051
+resulting in:
2052
2053
+```http
2054
201 Created
2055
Location: https://example.org/subscription/1
2056
```
0 commit comments