Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api docs: replace `subject` with `topic` in Curl example.

kraktus0ed5626a088b
diff --git a/templates/zerver/api/send-message.md b/templates/zerver/api/send-message.md
index d67511d6ae2..8664eb63a3c 100644
--- a/templates/zerver/api/send-message.md
+++ b/templates/zerver/api/send-message.md
@@ -18,7 +18,7 @@ curl -X POST {{ api_url }}/v1/messages \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
--data-urlencode type=stream \
--data-urlencode to=Denmark \
- --data-urlencode subject=Castle \
+ --data-urlencode topic=Castle \
--data-urlencode 'content=I come not, friends, to steal away your hearts.'
# For private messages