Skip to content

Commit

Permalink
Update vote API request example
Browse files Browse the repository at this point in the history
  • Loading branch information
gharbat committed Jun 20, 2024
1 parent 4a272c3 commit 6a53618
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/api-reference/endpoint/votes-add.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ If the message has already been voted on, it will be downvoted and the other way
<RequestExample>

```bash Example Request
curl --location --request POST 'https://api-v2.opencopilot.so/backend/chat/vote/:message_id' \
--header 'X-Bot-Token : YOUR_TOKEN'
url -X 'POST' \
'https://api-v2.opencopilot.so/backend/chat/vote/:message_id' \
-H 'accept: application/json' \
-H 'X-Bot-Token: token'
```

</RequestExample>
Expand Down

0 comments on commit 6a53618

Please sign in to comment.