fix entity variable with document
fix action as POST and not PUT for creation