Forum Discussion
Adnan2495
Jul 15, 2021Copper Contributor
Include X-ClientTag header
I am working on react based SPFX solution and using PnP module for retrieving list data. IT Deployment teams asked me to must include X-ClientTag header on SharePoint client side calls.
I am using below line of code for retrieving date.
import { sp } from "@pnp/sp";
sp.web.lists.getById(<list id>).items.get(); //sample line
Let me know if we can add X-ClientTag header with above code?
No RepliesBe the first to reply