Vote count: 0
Here is the Request-Payload data I'm trying to send:
------WebKitFormBoundaryliTECbsC0ebQkFD2
Content-Disposition: form-data; name="__EVENTTARGET"
ctl00$cphRoblox$pgItemsForResale$ctl02$ctl00
------WebKitFormBoundaryliTECbsC0ebQkFD2
Content-Disposition: form-data; name="__EVENTARGUMENT"
------WebKitFormBoundaryliTECbsC0ebQkFD2
Content-Disposition: form-data; name="__VIEWSTATE"
Here is what it's sending in request-payload format:
{"__EVENTARGUMENT":"ctl00$cphRoblox$pgItemsForResale$ctl03$ctl00"}
"__EVENTARGUMENT":"ctl00$cphRoblox$pgItemsForResale$ctl03$ctl00"
Here's my code that I'm using to send the data:
var object = {"__EVENTARGUMENT" : "ctl00$cphRoblox$pgItemsForResale$ctl03$ctl00"},
$.ajax({
url : "http://ift.tt/1DdZNdz",
method : "POST",
contentType: 'application/json; charset=UTF-8',
dataType: 'json',
data: JSON.stringify(object)
success : function (data) {
console.log(data)
}
})
How could I configure this to send the data I'm trying to send??
asked 47 secs ago
Sending Request-Payload data with a POST request?
Aucun commentaire:
Enregistrer un commentaire