MpFormData := TccMultipartFormData.Create; try MpFormData.Add('Name','Value'); MpFormData.AddFile('ExampleFile','c:\test.pdf'); ShowMessage(MpFormData.ContentText); finally MpFormData.Free; end;