Docs

RunMacro Documentation

Learn RunMacro from basics to advanced.

Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

RunMacro robot
Docs Network HTTP Request
🌐 Network

Send an HTTP request (call an API) in RunMacro

What it does

The HTTP Request command sends a GET or POST to an API (with headers and body if needed), then stores the response in a variable. It can filter the response with regex to grab the needed part (e.g. an OTP).

When to use it

  • Fetch an OTP/data from a service API.
  • Send data to a webhook/endpoint.
  • Integrate an API call into an automation workflow.

Configuration steps

  1. Add a Network › HTTP Request command.
  2. Choose the method (GET/POST), enter the URL, and optional headers and body.
  3. Set the result variable.
  4. (Optional) enable regex filter and enter a pattern. Save.

Every option explained

Method + URL

GET or POST and the API address. Variables allowed in the URL.

Headers + Body

Headers one per line as Key: Value; Body sent with POST. Variables allowed.

Result variable

The variable holding the response (or the regex-filtered part).

Regex filter + group

Enable to extract the needed part from the response via regex; choose the group.

Timeout (ms)

Max time to wait for a response.

Real example

Example: fetch an OTP from an API then fill it

  1. HTTP Request GET to the OTP API URL.
  2. Enable regex \d{6} → variable otp.
  3. Use {otp} to fill the code field.

Tips & common mistakes

Combine with Extract Regex for more complex response parsing.
RunMacro robot

Ready to automate smarter?

Download RunMacro and start automating your desktop, browser, and business workflows today.