Handle post request.