I'm making an application which sends an POST
request using ajax to a python script. I'm new to python and doesn't know much about it.
As in PHP we do something like this to get a value from post request.
$val = $_POST['data'];
How to do this in python? any help would be appreciated. Thanks