$photo = $_FILES["photo"]["tmp_name"];$user = $_POST["user"];
$ad = $_POST["ad"];
$ad = $_POST["ad"];$photo = $_FILES["photo"]["tmp_name"];$user = $_POST["user"];
var content = new MultipartFormDataContent();// Add the image:var imageContent = new StreamContent(await imageEditor.GetStream());imageContent.Headers.ContentType = new MediaTypeHeaderValue("image/png");content.Add(imageContent, "photo", "AdImage.png");// Add another parameter:content.Add(new StringContent(ad_id), "\"ad\"");content.Add(new StringContent(App.getUserInfo("MyUserID").Result), "\"user\"");