@tomeskrt wrote:
I’m currently trying to read a value from a SOAP call, this value is returned like this:
{PASSWORDMD5: "OKOKOKOKOKLOK"}
This is my .ts code:
doLogin() { return this.privacyProvider.getPWD() .toPromise() .then((data: any) => { let res = data[1]; console.log(res) }) .catch(err => { console.log('Error', err); return err; }) }
How can I read the value inside the {}?
Posts: 1
Participants: 1