Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Segura <aaron@aaronsegura.com>2022-07-21 17:51:40 +0300
committerJoas Schilling <coding@schilljs.com>2022-07-22 13:48:30 +0300
commitba320a5a097cc6a80bf14659abf3c5d18fefd7fa (patch)
tree7536aa845cf12e449485656bbd567af8f04aa36b /docs/poll.md
parente5e6cd72bf604766c71cfa7e9177bbbb5a41b55c (diff)
Set proper header for requesting JSON responseaaronsegura-patch-1
Signed-off-by: Aaron Segura <aaron@aaronsegura.com>
Diffstat (limited to 'docs/poll.md')
-rw-r--r--docs/poll.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/poll.md b/docs/poll.md
index 43b3cd210..4f3caa063 100644
--- a/docs/poll.md
+++ b/docs/poll.md
@@ -91,7 +91,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
!!! note
Due to the structure of the `votes` array the response is not valid in XML.
- It is therefor recommended to use `format=json` or send the `Content-Type: application/json` header,
+ It is therefor recommended to use `format=json` or send the `Accept: application/json` header,
to receive a JSON response.
| field | type | Description |