HTTPRequest.SetBodyFileName

Syntax:

SetBodyFileName(<PathToFile>)

Parameters:

<PathToFile> (required)

Type: String.
Specifies path to a file.

Description:

Specifies a name of the file, from which the request body is obtained.

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Note:

When the method is called the file is opened for reading, but the reading is performed only when the request is sent.

    

1C:Enterprise Developer's Community