a mess but can read post requests