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

AuthorizationBearer <token>

In: `header`

## Path Parameters

idinteger
Format `int64`

## Query Parameters

optionarray<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"