Skip to content

Instantly share code, notes, and snippets.

View demoore's full-sized avatar
💃

Dylan Moore demoore

💃
View GitHub Profile
// 1) Set your API key
string api_key = "YOUR API KEY";
// Let's create a request
string url = "https://api.sendwithus.com/api/v1_0/send";
var httpWebRequest = (HttpWebRequest)WebRequest.Create(url);
httpWebRequest.ContentType = "text/json";
httpWebRequest.Method = "POST";
// set headers with api key