cURL Script to Manipulate Poll?

cygod1

Newbie
Joined
Sep 18, 2012
Messages
2
Reaction score
0
Sorry if this isn't in the correct section, didn't really know where to post it but I hope this is the right section.

Basically, I'm trying to write a script that manipulates a poll and keeps sending the value and increasing the vote count. I heard you can do this using a cURL script but I'm not too familiar with cURL.

The is a poll located here: livewire.kcra.cmo/Event/High_School_Playbook_-_Games__Polls . What I got so far is that the poll sends a GET request to livewire.kcra.cmo/api/rest/poll/12343/vote/45367?format=json
I'm not too sure of where to go from there, the id number of the poll is 12343 and the id of the option is 45367. If anybody can help me with the script, I'd greatly appreciate it, thanks.

Btw, if there is another solution that does not use cURL, please let me know as well. Thanks a bunch!


[TD="class: postcell"][/TD]
 
hi,
try jsoup and java.
You can use proxys, different referer, different user agent.
if i have time i will post simple example
 
If you can help, that'd be awesome. How do you use a different referer?
 
stackoverflow.c()m/questions/8986617/jsoup-posting-modified-document
stackoverflow.c()m/questions/6581655/jsoup-useragent-how-to-set-it-right

Sorry for the links
 
Back
Top