removal of encodePOST