if you using approuter you most use the next/headers in server component and if you use pages context.req.headers.cookie anyway you most use coockie for ssr api