POST request
ZennoDroid lets you send data in POST requests. With this action you can:
- send info to register on a website,
- upload files to a server,
- quickly send data,
- run templates without a browser,
- work with the API of web services and apps.
How do you add it to a project?
Use the context menu: Add action → HTTP → POST request.

"Main" tab

URL.
Target site address (link) where the request will be sent. You can use a variable.
Referer.
The Referer header is used to specify the URL from which the user came to the current page. It helps analyze traffic and track which resources users are coming from most often.
Encoding.
Choose the encoding for the request.
Timeout.
Maximum time to wait for a response from the site, in seconds. If the set time is reached, the action will fail and go down the red branch. You can use variable macros.
Data.
Write the request body text here.
Data type.
Here you choose what type of data will be sent in the request. The specified type is passed in the headers as Content-Type.
Available options:
urlencoded.
Content-Type: application/x-www-form-urlencodedBest for sending text information to the server. In the Data field, enter it like:
paramname1=value1¶mname2=value2
multipart.
Content-Type: multipart/form-dataUse this when your request sends binary data (files) to the server.
Other.
You can set any other data type if the two presets aren't suitable.
For example, to work with the CapMonster Cloud API, you need to send the POST request in JSON format. For this, set the Data type to application/json
Download.
Only content.
Only the response body will be saved to the variable.
Only headers.
Only the headers will be saved.
Headers and content.
Both the response header and body will be saved to the variable, separated by two blank lines.
As file.
Choose this mode if you need to download a file with the request. The variable will hold the path to the downloaded file.
Trash folder in the program directory.The path may look like this:
C:\Program Files\ZennoLab\RU\ZennoPoster Pro V7\7.4.0.0\Progs\Trash\googlelogo_color_92x30dp.png
You can change this in the settings, but only globally for all projects.
As file + headers.
The variable will hold the response headers and the path to the downloaded file.
Save to variable.
Here you need to select (or create a new) variable where the result of the request will be saved.
"Advanced" tab.
