updated Post to have a return type to text if it works