Skip to main content

REST input plain HTTP

POST 

http://localhost:13034/http.input/archive-pdfa2-email-optimization

The Ready for Email PDF/A-2 workflow outputs PDF documents compliant with the PDF/A-2 archival standard, specifically with ready for email optimization. The REST input plain HTTP endpoint supports the conversion of large files (larger than 100 MB) intended for email attachments. To use this endpoint, submit the file you wish to convert as multipart/form-data in the HTTP request body.

Request

Responses

The file was successfully submitted for conversion. The Simple API returned the converted file in the response.

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "http://localhost:13034/http.input/archive-pdfa2-email-optimization");
request.Headers.Add("Accept", "application/pdf");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("multipart/form-data");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
http://localhost:13034
Body required
required
Include data of the file to be uploaded.
ResponseClear

Click the Send API Request button above and see the response here!

Feedback