SetRequestAttachment sets API request attachment during the runtime The input parameters are String attachment name, string path and string type Let's use ConcatArrayData API method for demonstration purposes. We can see by default there are no attachments in it. Let's set some random attachment to this request We set attachment with name as "name", path as "testpath" and type as "type 123" we will set a breakpoint to pause the script during runtime Run and we can see new attachment appears.
Server("API Server").Method("CreateBook").SetRequestAttachment "book", "C:\book.txt", "text/plain"