How to manipulate a function of web app. my parameters using cURL?? How can I postdata in post-fields of Ajax using cURL?
{
function voteentry()
{
$(".loader").fadeIn()
$.ajax({
type : 'POST',
url : "ajax_vote.php",
data : "userid="+userid+"&entryid="+entryid,
success: function(data) {
if (data.indexOf('1') > 0) {
$('.votebtn').addClass("transparent");
getEntries();
$('#profile-vote').html(parseInt($('#profile-vote').html())+1);
//votePost(entryid,entryname);
};
$(".loader").fadeOut();
//showCongrats();
}
});
I know userid and entryid as well but how to post them in database using cURL??