private HttpContent CreateRequestContent(string payload) { string content = EmbeddedResource.ReadAsString(payload); return(new StringContent(content, Encoding.UTF8, MyGetWebHookReceiver.MediaType)); }
private HttpContent CreateRequestContent(string payload) { string content = EmbeddedResource.ReadAsString(payload); return(new StringContent(content, Encoding.UTF8, "application/json")); }