Configuration interface for HTTP requests
This interface defines the structure for configuring HTTP request settings, including the target URL and authentication token.
const config: HTTPConfig = { url: 'https://api.example.com/data', authToken: 'Bearer abc123xyz'}; Copy
const config: HTTPConfig = { url: 'https://api.example.com/data', authToken: 'Bearer abc123xyz'};
Configuration interface for HTTP requests
This interface defines the structure for configuring HTTP request settings, including the target URL and authentication token.
Example