Changeset 20445 for lang/csharp/MMMMB/MMMMB/MiniBlogs/HatenaHaiku.cs
- Timestamp:
- 10/02/08 08:41:31 (3 months ago)
- Files:
-
- 1 modified
-
lang/csharp/MMMMB/MMMMB/MiniBlogs/HatenaHaiku.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/csharp/MMMMB/MMMMB/MiniBlogs/HatenaHaiku.cs
r18564 r20445 91 91 client.Headers.Add("Authorization", "Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes(username + ":" + password))); 92 92 client.Headers.Add("Content-Type", "application/x-www-form-urlencoded"); 93 client.UploadString("http://h.hatena.ne.jp/api/statuses/update.xml", "POST", "source=MMMMB&status=" + Uri.EscapeUriString(message) );93 client.UploadString("http://h.hatena.ne.jp/api/statuses/update.xml", "POST", "source=MMMMB&status=" + Uri.EscapeUriString(message).Replace("+", "%2B")); 94 94 } 95 95
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)