send all requests to server.py as POST, but use _type form parameter's POST or GET value to use commit or not