fbpx

Method SetRequestAttachment

Sets Request Attachment

Usage

Function SetRequestAttachment(
    String Name,
    String Path,
    String Type
)

Parameters

Name

Type: String

The name of the Attachment

Path

Type: String

The new path to set

Type

Type: String

The new MIME Type to set

Returns

No return value

Example

VBScript

Server("API Server").Method("CreateBook").SetRequestAttachment "book", "C:book.txt", "text/plain"

JavaScript

Server("API Server").Method("CreateBook").SetRequestAttachment("book", "C:book.txt", "text/plain");

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo