Hi,
I tried service callout policy and assign message policy to fetch cookie and CSRF token .And assign the both in headers using assign message policy. when I am assigning cookie in headers through assign message policy unnecessary values are there so that we are getting error as CSRF token validation failed.
Example: cookie: sap-user context=sap-client=20; path=/ SAP_SESSIONID_D5_20=c_BbvQ_eMAYW2ixyZy9BZRNUbchHsrH8AUFasPzY%3d; path=/
I need to remove "path=/" words from overall cookie. How to remove that using JavaScript