OpenIsle Docs
API 概览
List posts GET Create post POST
Delete post DELETE Get post GET Update post PUT
Vote poll POST
Api
Posts
Id
Poll
Vote

# Vote poll

Vote on a poll option

POST
/`api`/`posts`/`{id}`/`poll`/`vote`

## Authorization

Authorization Bearer <token>

In: `header`

## Path Parameters

id integer
Format `int64`

## Query Parameters

option array<integer>

## Response Body

###

    curl -X POST "https://www.open-isle.com/api/posts/0/poll/vote?option=0"

Empty

Poll progress GET

Previous Page

Reopen post POST

Next Page

    curl -X POST "https://www.open-isle.com/api/posts/0/poll/vote?option=0"