Changeset 3819 for extensions/PiwigoLib/PiwigoLib/Proxy/PwgTagsProxy.cs
- Timestamp:
- Sep 3, 2009, 6:25:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoLib/Proxy/PwgTagsProxy.cs
r3818 r3819 48 48 } 49 49 50 static public PwgTagsProxyResponse pwg_tag_add(string tagName) 51 { 52 PwgTagsProxyResponse response = null; 53 try 54 { 55 StringBuilder data = new StringBuilder(); 56 data.Append("method=pwg.tags.add"); 57 data.Append("&name=" + HttpUtility.UrlEncode(tagName)); 58 59 response = PwgGenericProxy<PwgTagsProxyResponse>.Post( 60 PwgConfigProxy.PwgServeurUriBuilder.Uri, 61 data.ToString()); 62 } 63 catch (Exception ex) 64 { 65 throw new PwgProxyException("pwg_tag_add", ex); 66 } 67 68 return response; 69 } 70 50 71 } 51 72
Note: See TracChangeset
for help on using the changeset viewer.