ZennoPoster allows using HTTP requests when working with different websites. You can receive data with GET requests, for example, request search results by request in a search system, download files, parse data, work with API of web services and applications. Performing actions without a browser can significantly reduce the load on computer resources.
How to add an action to a project?
Via the context menu Add Action → HTTP → GET request
The address of the site to which the request will be sent, you can use a variable.
The Referer request header contains the URL of the original page from which the current page was navigated. The Referer header allows the server to find out where the link to the requested page came from. Variable macros can be used.
The encoding in which the request will be sent.
The maximum time to wait for a response from the site in seconds. When the set time is reached, the action will be completed with an error and will exit on the red thread. Variable macros can be used.
Only the response body will be saved to the variable
This mode is worth choosing if you are trying to download a file using a request.
The path to the downloaded file will be saved to the variable.
By default, files are downloaded to the Trash folder in the ZennoPoster installed directory. The path to it may look like this - C: \ Program Files \ ZennoLab \ RU \ ZennoPoster Pro V7 \ 184.108.40.206 \ Progs \ Trash \ googlelogo_color_92x30dp.png
You can change this path in the settings, globally for all projects. Or by using an action during template execution.
As file + headers
The variable will save the response headers and the path to the downloaded file.
Put in variable
Here you need to select (or create a new) variable into which the query result will be saved.
How to work with an action: More Tab
How to work with an action: Proxy Tab
Creating Actions from Traffic Monitor Requests
Added in ZennoPoster 220.127.116.11 (18.104.22.168)
A ready-made HTTP request can be created directly from the Traffic Window.
Hover the cursor over the required query and right-click to call the context menu.
Click Create Action from Request.
A fully filled HTTP request action appears on the project canvas.
Do not use a browser
If you work exclusively with the help of requests, then you can turn off the browser, thereby saving computer resources; you can do this either in the project settings or using the Browser Settings action.
HTTP-Request transfer method
ZennoPoster has two methods of working with requests - third-party development (standard method, Chilkat library) and our own (alternative method). If something does not work for you when working with HTTP requests using the standard method, then try switching to an alternative method.