Hi Zen Masters, today we bring an example about how to use our Zen Load Balancer API! This article presents the use of this API to get a farm list with the name, profile and status parameters of all created farms.
Zen Load Balancer API (ZAPI)
This ZAPI allows you to use the powerful Zen Load Balancer without the graphical user interface (GUI) through several commands using curl (a command line tool for getting or sending files using URL syntax).
If you want to use this API, go to ‘Users’ section (in Zen GUI) and enable zapi user.
Once zapi user is enabled, it’s necessary to set a key (custom or random key) and a password. These parameters are required to use the ZAPI.
For the following example, these parameters will be used:
Key: CiEuYlS4GtfSq3yrknv0YMnA7j5fhm4piVZh49yt5JcjQ0aDyxImz2Y7DAUhstce5
Password: admin
Zen Load Balancer IP: 192.168.101.25
Zen Web Port: 444
How to get the farm list with ZAPI
In the first place we have to open a terminal where the commands will be introduced. Then let’s get the farm list with a GET request:
The Netdev 0x18 Conference, held from July 15th to 19th, 2024, in Santa Clara, California, brought together leading minds in Linux networking for a week of insightful presentations, technical sessions,…
4 LikesComments Off on Netdev Conference 0x18: A Deep Dive into the Future of Linux Networking
The quest for secure communication channels has been relentless in the realm of cybersecurity, where every digital interaction can potentially be intercepted or compromised. One pivotal solution that emerged from…
40 LikesComments Off on Robust Keys generation for the highest security
Cyber threats are a constant concern for businesses of all sizes. One of the most common ways that cybercriminals gain access to sensitive data and systems is through vulnerabilities in…
74 LikesComments Off on Leveraging Virtual Patching