using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.gugudata.com/imagerecognition/html2pdf?appkey=YOUR_APPKEY");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string>
{
{ "type", "YOUR_VALUE" },
{ "content", "YOUR_VALUE" },
{ "landscape", "0" },
{ "showpages", "0" },
{ "filename", "N/A" },
{ "storage", "public" }
});
var response = client.SendAsync(request).Result;
Console.WriteLine(response.Content.ReadAsStringAsync().Result);