Environment Setup Management
Before using the API endpoints, ensure your development environment is properly configured to support secure HTTPS requests and JSON-based communication.
1. Configure Environment Variables Copied!
(UNIX, LINUX, MAC)Copied!
To avoid hardcoding sensitive information, set your API token and base URL as environment variables:
export API_BASE_URL="https://your-api-host.com/api/v1"
export API_TOKEN="your_secret_token"
(WINDOWS)Copied!
Windows (Command Prompt)
set API_BASE_URL=https://your-api-host.com/api/v1
set API_TOKEN=your_secret_token
Windows (Powershell)
$env:API_BASE_URL = "https://your-api-host.com/api/v1"
$env:API_TOKEN = "your_secret_token"