Built-in Functions

Built-in Functions

NativeRest includes a comprehensive library of built-in functions to make your API requests dynamic. You can generate random test data (UUIDs, timestamps, random numbers), calculate cryptographic hashes (MD5, SHA-256) for authentication signatures, and manipulate strings directly within your request parameters.

The latest version expands these capabilities with File System functions (file.readJson, file.readAll) to load payloads directly from your disk, and OS functions (os.getEnv) to securely access system environment variables. Simply use the double-brace syntax (e.g., {{$uuid}} or {{os.getEnv('API_KEY')}}) in the URL, headers, or body to inject values at runtime, eliminating the need for manual data entry.