REST Post API to SAP returns Status 0

Anyone facing this similar issue, we need to pass the cookies as well in the Put/Post call and the way to do that is by passing them by correct name. To read the cookies value one can use restsharp as explained in this post (UiPath has a limitation currently to read cookies from Cookies tab) - How to extract the cookies from the HTTP Request activity response in UiPath Studio? - #6 by Meghdut_Saha. Once you have the cookies value pass them in the post/put call with their correct names as

. Code 0 is received that means there is some error and that request is not even sent to the server. So it is important to pass the cookies value correctly in order to get the correct response.