There is a plugin by Avast named webrep.
It is used by people to vote a site as bad, good average etc. This plugin sends the response back to Avast servers as a post request. I tracked the request sent by this plugin using few tools.
This is the text it returned:
PUT http://api.webrep.avast.com/v1/vote/uri/ HTTP/1.1
Host: api.webrep.avast.com
Connection: keep-alive
Content-Length: 179
Accept: text/plain, */*; q=0.01
Origin: chrome-extension://gomekmidlodglbbmalcneegieacbdmki
User-Agent: Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
Content-Type: application/json;
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: x-otid=wr>wr>>; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|28E22E1D0531284E-60000103C01B4215[CE]; s_nr2=; s_nr2=
{"uri":"blackhatworld.com","vote":{"rating":"100","flags":{"shopping":0,"social":0,"news":0,"it":0,"corporate":0,"pornography":0,"violence":0,"gambling":0,"drugs":0,"illegal":0}}}
PUT http://api.webrep.avast.com/v1/vote/uri/ HTTP/1.1
Host: api.webrep.avast.com
Connection: keep-alive
Content-Length: 173
Accept: text/plain, */*; q=0.01
Origin: chrome-extension://gomekmidlodglbbmalcneegieacbdmki
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
Content-Type: application/json;
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: userid=b46fc807e8774b1f9ad1feeef926c013
{"uri":"coolmath.com","vote":{"rating":"75","flags":{"shopping":0,"social":0,"news":1,"it":0,"corporate":0,"pornography":0,"violence":0,"gambling":0,"drugs":0,"illegal":0}}}
So, these are 2 different requests it sent. I want to emulate the same with different user agents and proxies etc.
My question is that the text shown above should be added to Data field in HTTP Post element?
What will be the data type? urlencoded or multipart?
What will be the encoding type?
Any help would be appreciated.
Thanks
It is used by people to vote a site as bad, good average etc. This plugin sends the response back to Avast servers as a post request. I tracked the request sent by this plugin using few tools.
This is the text it returned:
PUT http://api.webrep.avast.com/v1/vote/uri/ HTTP/1.1
Host: api.webrep.avast.com
Connection: keep-alive
Content-Length: 179
Accept: text/plain, */*; q=0.01
Origin: chrome-extension://gomekmidlodglbbmalcneegieacbdmki
User-Agent: Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
Content-Type: application/json;
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: x-otid=wr>wr>>; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|28E22E1D0531284E-60000103C01B4215[CE]; s_nr2=; s_nr2=
{"uri":"blackhatworld.com","vote":{"rating":"100","flags":{"shopping":0,"social":0,"news":0,"it":0,"corporate":0,"pornography":0,"violence":0,"gambling":0,"drugs":0,"illegal":0}}}
PUT http://api.webrep.avast.com/v1/vote/uri/ HTTP/1.1
Host: api.webrep.avast.com
Connection: keep-alive
Content-Length: 173
Accept: text/plain, */*; q=0.01
Origin: chrome-extension://gomekmidlodglbbmalcneegieacbdmki
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
Content-Type: application/json;
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: userid=b46fc807e8774b1f9ad1feeef926c013
{"uri":"coolmath.com","vote":{"rating":"75","flags":{"shopping":0,"social":0,"news":1,"it":0,"corporate":0,"pornography":0,"violence":0,"gambling":0,"drugs":0,"illegal":0}}}
So, these are 2 different requests it sent. I want to emulate the same with different user agents and proxies etc.
My question is that the text shown above should be added to Data field in HTTP Post element?
What will be the data type? urlencoded or multipart?
What will be the encoding type?
Any help would be appreciated.
Thanks