Skip to content

Raw poll makes it easy to create new polls in seconds and free and open source!

Notifications You must be signed in to change notification settings

Andy-Python-Programmer/RawPoll

Repository files navigation

Raw Poll

Raw poll makes it easy to create new polls in seconds and free and open source!

Api

Poll

  1. Create

    POST /api/poll
    

    Format: application/json

    Params:

    Name Type Notes
    question String Required.
    description String Required.
    options Array Required.

    Response ( If the poll was successfully created ):

    {
        "id": "poll_id",
        "status": "success"
    }
  2. Read

    GET /api/poll/<poll_id>
    

    If the poll was found:

    {
        "question": "poll_question",
        "description": "poll_description",
        "options": {
            "poll_option": 1,
            "poll_option-2": 1,
            ...
        },
    }

    If the poll was not found:

    {
        "error": "Cannot find the poll specified!",
        "status": "failure"
    }

About

Raw poll makes it easy to create new polls in seconds and free and open source!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published