Static method to perform a simple file upload form POST
Source position: fphttpclient.pp line 374
public class procedure TFPCustomHTTPClient.SimpleFileFormPost( |
const AURL: string; |
const AFieldName: string; |
const AFileName: string; |
const Response: TStream |
); |
AURL |
|
The URL to post the file form request to |
AFieldName |
|
The form field name for the file upload |
AFileName |
|
The filename of the file to upload |
Response |
|
Variable to store the response content as string |
Static utility method for performing a simple file upload form POST request without requiring an HTTP client instance. Uses multipart/form-data encoding for the file upload.
May raise HTTP-related exceptions on connection errors.
|
Performs an HTTP POST request with file upload |