leg handling via POST