String recoverPOST() function updated