Generalized POST data generation.