# PyPolls ## API endpoints Description | Method | Endpoint ----------- | :-------: | --------------------------------------- Create new poll | POST | /api/v1/polls/create/ Vote | POST, PUT | /api/v1/polls/?id=...
/api/v1/polls/?0=true&1=false&2=true Get results and variants | GET | /api/v1/polls/ Stop poll | POST, PUT | /api/v1/stop/[?token=...] [Authorization: Bearer ...] Delete poll | DELETE | /api/v1/polls/[?token=...] [Authorization: Bearer ...]