Request Constructor#

Request Constructor is a tool that allows you to configure a REST request in a separate window and automatically add a ready-made "REST Client" block to the project diagram.

To open the request constructor, you need to click the "Request Constructor" button in the "Advanced" menu on the "Development" panel.

The "Request constructor" popup window contains the following elements:

  • dropdown list with methods — allows you to select the type of HTTP request: Get, Post, Put, Patch, Delete, Head, or Options;
  • "Request" button — allows you to form or send a request with the current settings;
  • "To block" button — allows you to add the configured request to the project as a ready-made block on the diagram;
  • "Params" table with columns:
    • "On/Off" column — allows you to enable or disable the parameter;
    • "Key" column — displays the name of the parameter;
    • "Value" column — displays the value of the parameter;
  • "Save as..." button — saves the current request settings to a file or template;
  • "Load from..." button — loads a previously saved request setting;
  • "Bulk Edit" button — allows you to edit parameters in bulk;
  • "RESPONSE" field — allows you to view the server response after executing the request.

Headers Tab#

In the "Request constructor" window, on the "Headers" tab, there is a table designed for configuring HTTP headers of the request.

The table includes the following columns:

  • "On/Off" column — checkboxes for activating headers, which allow you to enable or disable a specific header without removing it from the list;
  • "Key" column — keys of HTTP headers (e.g., "Content-Type" or "Authorization");
  • "Value" column — values of the headers corresponding to the keys (e.g., "application/json" for Content-Type).

Body Tab#

In the "Request constructor" window, on the "Body" tab, there are flags that determine the format of the data sent in the body of the HTTP request:

  • "none" flag — if the request body is absent;
  • "form-data" flag — for sending a request with files and text;
  • "x-www-form-urlencoded" flag — for sending simple login or password data in the body of the request;
  • "raw" flag — for manually entering text in the body of the request;
  • "Clear Body" flag — for completely resetting the request body.

Proxy Tab#

In the "Request constructor" window, on the "Proxy" tab, there is a table where proxy server settings for routing the request are specified.

The table includes the following columns:

  • "On/Off" column — checkboxes for activating proxies, which allow you to enable or disable the proxy without removing the settings;
  • "Address" column — addresses of proxy servers in the format host:port, which indicate where to direct the traffic;
  • "Type" column — types of proxies (HTTP, HTTPS, SOCKS4, SOCKS5);
  • "Username" column — usernames for authentication on the proxy (if required);
  • "Password" column — passwords for the proxy server.

Settings Tab#

In the "Request constructor" window, on the "Setting" tab, general parameters for executing the request are configured:

  • "Timeout" field — maximum waiting time for a response in seconds;
  • "Max Automatic Redirections" field — maximum number of times the request can automatically redirect to a new address;
  • "Enable SSL certificate verification" checkbox — verification of the server's SSL certificate;
  • "PreAuthenticate" checkbox — pre-authentication. When checked, two additional fields are activated:
    • "User" field — login sent in the Authorization header;
    • "Password" field — password sent in the Authorization header.