How to get CSRF token from SAP C4C in UiPath?

,

When I want to make a POST operation in C4C, it asks for the CSRF token. So I make a GET request first to the metadata URL with header with key “X-CSRF-Token” and value “Fetch”. However, in the retrieved data I could not see the CSRF token. Can someone assist on this?

Thanks,
Shanthi R

hi,
i try to call a s4hc api to change a value, it asks me for the csrf token too, after add the x-csrf-token = “Fetch” and call api with “get” method , i get the token in the return headers.