Upload file with Post method
- Updated: 2024/03/19
Upload file with Post method
Use the Post method
action in the REST Web Service
package to upload a file
or
text
.
This example uses endpoints from the Petstore sample API (Petstore)
to demonstrate uploading a new file
or text
using
a multipart/form-data.
Procedure
-
Use the Post 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.