Factorize POST requests