Performs an HTTP form POST with stream upload
Source position: fphttpclient.pp line 370
public procedure TFPCustomHTTPClient.StreamFormPost( |
const AURL: string; |
const AFieldName: string; |
const AFileName: string; |
const AStream: TStream; |
const Response: TStream |
); |
const AURL: string; |
FormData: TStrings; |
const AFieldName: string; |
const AFileName: string; |
const AStream: TStream; |
const Response: TStream |
); |
AURL |
|
The URL to post the stream form request to |
AFieldName |
|
The form field name for the stream data |
AFileName |
|
The filename to associate with the stream data |
AStream |
|
The stream containing the data to upload |
Response |
|
Variable to store the response content as string |
AURL |
|
The URL to post the stream form request to |
FormData |
|
Additional form data to include with the stream upload |
AFieldName |
|
The form field name for the stream data |
AFileName |
|
The filename to associate with the stream data |
AStream |
|
The stream containing the data to upload |
Response |
|
Variable to store the response content as string |
Performs an HTTP POST request with form data that includes a file uploaded from a stream. Uses multipart/form-data encoding for the upload.
May raise HTTP-related exceptions on connection errors or invalid responses.
|
Performs an HTTP POST request with file upload |
|
|
Performs an HTTP POST request with form data |