I have this simple test AJAX request that sends data to a python script.
$.ajax({
url: 'parser.py',
type: 'POST',
data: {test:"test"},
dataType: "text",
success: function(result)
{
console.log(result)
},
error: function(request, status, error)
{
console.log("oops")
}
})
I know it's quite simple, but how do I access the posted content that I send to the python script? Is it sent in a query string like PHP?