我正在Cordova中向Big Commerce进行以下调用,并尝试调用返回名为“SHOP_SESSION_TOKEN”的cookie:
cordovaHTTP.post('https://store-{store-hash}.mybigcommerce.com/remote.php',
{
w: 'expressCheckoutLogin',
login_email:'me@example.com',
login_pass:'xxxxxxxxxxx'
}, {},
function(response){},
function(response){});
当我在我的代码(而不是我想要的人)中拨打电话时,我收到一个cookie,但是当我在Postman中运行电话时,返回了42个cookie(包括我想要的那个)。
只是想知道我需要添加到我的代码中才能返回此cookie。