Home

Awesome

wp-polls-rest-api

This wordpress plugins permit to activate the rest api support for Wp-Polls Rest Api original version by 7aduta : https://gist.github.com/7aduta/2bfe5788fa2186255ebe1339ed01fb37

Requests

wp-json/wp/v2/polls

Small change compare to the original Wp-Polls plugins The voting is base by user_login instead of display_name becuwe username can't be change.

GET all polls , is return a return array

wp-json/wp/v2/poll?id=

GET a poll, return a array