var client = Extensions.CreateHttpClient();
var projectModel = AddProjectFactory.GetProjectModel();
var json = JsonConvert.SerializeObject(projectModel);
var req = new HttpRequestMessage
{
RequestUri = new Uri("index.php?/api/v2/add_project"),
Method = HttpMethod.Post,
Content = new StringContent(json, Encoding.UTF8, "application/json")
};
var response = await client.SendAsync(req);
_testOutputHelper.WriteLine(response.Content.ReadAsStringAsync().Result);