Poll REST service for vote submission
Using poll REST voting service you can submit a poll. The vote should be submitted to the following URI.
http://your-host/poll-ws/poll/poll-id/vote
In above URI pattern you should use your host name and a valid poll id.
This service requires only one form parameter named
option
which is the voting option. If poll is found
and voting option is valid then vote will be submitted successfully and
REST service will return HTTP status code 200. If poll is not found or
voting option is invalid then it will return 404 status code.
Here voting restriction is not handled. Your REST client should handle that.