I’m trying to add a user into the group using the rest-sharp API but I’m not able to get the JSESSION cookie which I need to post the data. From postman it is getting added automatically but how to get it in code behind in ASP.net .
Are you using our .NET management SDK or are you making API calls to the /groups/{{groupId}}/users/{{userId}} to add them to the group? You should only need an SSWS or OAuth token (issued to an admin with adequate permissions) to make this API call
Actually I’m trying to add a user to a group using the RestSharp API but to add a user I need JSESSIONID the following code I’m using from POSTMAN and it was working fine in localhost but in server I’m not getting the JSESSIONID, Below is the code what I’m using.