encodePOST fixed