Sorry, i speak English a little bit. I have a js code
url = '/auth'
var http_request = window.XDomainRequest || window.XMLHttpRequest;
http_request = new http_request;
http_request.open( "post", url, true, 'jack', 'pass_jack' );
http_request.send();
And python BaseHTTPServer
def do_POST(self):
if self.path == '/auth':
How i can check username and password in python?