Tutorial: System.getCookies

System.getCookies

Retrieves an array of cookies for document.URL.

Example

fin.System.getCookies({name: 'myCookie'}).then(cookies => console.log(cookies)).catch(err => console.log(err));