Upload file with Put method
Use the Put method
action in the REST Web Service
package to upload a file
or
text
.
This example uses endpoints from the Swagger Petstore sample API (https://petstore.swagger.io/) to
demonstrate uploading a new file
or text
using a
multipart/form-data.
Procedure
-
Use the Put method
action in conjunction with an API that allows uploading a
file.
-
Assign the output to a variable, for example, Test123.
-
Print the output in a message box.