Javascript – Server side api can't pass cookies in NextJS app router
In my nextjs app, I am trying to fetch data by using async await mechanism like this export const getHomeData = async (tokenCalled4PublicApis: string) => { try { // const all = getCookie('XSRF-TOKEN', { cookies }); // console.log('all cookies', all);…