Add genericPost method