You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using 'csrfprotection:true' for connecting csrf protected APIs, it is failing with "getConfigForTokenFetch is not defined" ( Line 240 in destination.js)
When using 'csrfprotection:true' for connecting csrf protected APIs, it is failing with "getConfigForTokenFetch is not defined" ( Line 240 in destination.js)
I see a similar function in jcailan's repo
Can you please let me know how to proceed further on this issue?
Sample:
const service = await cdsapi.connect.to(""SCPDestination");
return await service.run({
url: "/Products",
method: "post",
headers: {
'content-type': 'application/json'
},
data: product,
csrfProtection: true
})
The text was updated successfully, but these errors were encountered: