Handle POST requests