I'm using Rest api, so I send a Request with URLs, my problem is when the user nome a folder with a name containing a space or special characters, it sends nothing. I used the following conversion, but it does not work:
string url = "http://localhost:8080/alfresco/service/set/folder/permission/?folderName="
+ folder
+ "&permi="
+ acces
+ "&username="
+ user
+ "&alf_ticket="
+ GetToken();
Uri url2 = new Uri(url);
Response.Write(url2);
Server.UrlEncode(user)