How to get CSRF token from SAP C4C in UiPath?

sap
uipath
api
authentication
webservice

#1

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