Overview

This page documents the Path Variables feature of Request Man.

Path Variables - Dynamic URL Parameters GET ✓ https://api.example.com/users/ :userId /posts/ :postId Send ✓ ✨ Path variables detected! Use the Path Variables tab below to set values for :userId and :postId Params Path Variables Headers Authorization KEY VALUE DESCRIPTION userId 123 User ID parameter postId 456 Post ID parameter key value 💡 How Path Variables Work: ✓ Path variables use the :variableName syntax in URLs ✓ They are automatically detected and highlighted in orange ✓ Values can also be resolved from environment or collection variables
Documentation in Progress: Full documentation for this feature coming soon!

Key Features

The Path Variables feature provides powerful capabilities for API testing and development.

🔗 Path Variables - Key Features 1⚡ Auto-Detection Automatically detects :variable syntax in your URLs /api/ :version /users/ :userId 2️⃣ Visual Highlighting Path variables are highlighted in orange for easy identification /products/ :id 🔑 3️⃣ Variable Resolution Priority Order: 1. Path Variables Tab (highest) 2. Environment Variables 3. Collection Variables 4. Global Variables (lowest) 4️⃣ RESTful APIs Perfect for REST API patterns: GET /users/:id PUT /posts/:postId/comments/:commentId DELETE /items/:itemId POST /api/:version/resources

Getting Started

Access the Feature

Navigate to Path Variables in the Request Man interface.

Configure Settings

Set up your Path Variables preferences.

Start Using

Begin using Path Variables in your API workflows!

📝 Using Path Variables - Step by Step 1 Enter URL with :variables /users/:userId/posts/:postId 2 Auto-detected! Variables highlighted in orange 3 Go to Path Variables Tab Enter values for each variable 4 Send Request Variables replaced automatically! ✓ Final URL Sent to API: https://api.example.com/users/123/posts/456

Examples

Here are practical examples of using Path Variables:

Example: User API with Multiple Path Variables GET https://api.example.com/ :version /users/ :userId /orders/ :orderId Path Variables KEY VALUE version v1 userId 12345 orderId 98765 📌 Variable Source: ✓ version: Path Variables Tab ✓ userId: Environment Variable "userId" ✓ orderId: Collection Variable "orderId" Request Sent ✓ Final URL: https://api.example.com/ v1/users/12345/orders/98765 Response: { "userId" : 12345 , "orderId" : 98765 , "status" : "delivered" , "total" : 249.99 } ⭐ Key Benefits: ✓ Clean, readable URLs with dynamic parameters ✓ Perfect for RESTful API patterns (users/:id, posts/:postId, etc.) ✓ Automatic variable resolution from environment, collection, or global variables

Tips & Best Practices

Tip 1

Learn the keyboard shortcuts for faster workflow.

Tip 2

Use variables for flexibility across environments.

Tip 3

Save and organize your work in collections.

Tip 4

Check the console for detailed logging information.