Created
April 7, 2019 07:32
-
-
Save lbugnion/6881c4ec5eb744590ed8d2b45ba0871b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var client = new HttpClient(); | |
var request = new HttpRequestMessage | |
{ | |
RequestUri = new Uri(PostTweetUrl), | |
Method = HttpMethod.Post | |
}; | |
var json = $"{{\"key\":\"{hash}\",\"twittername\":\"@@LBugnion\"}}"; | |
request.Content = new StringContent(json, Encoding.UTF8, "application/json"); | |
await client.SendAsync(request); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment