.har (HTTP Archive) is a JSON-formatted file used for logging a web browser's interaction with a site. It records web requests, responses, headers, and other data sent between the browser and server.
Apidog supports capturing these records to quickly generate API endpoints.Phase 1: Export .har File#
You can use standard browser tools (Chrome, Edge, Firefox) to export traffic as a HAR file.Chrome / Edge#
1.
Open Developer Tools: F12 or Ctrl+Shift+I (Windows/Linux) / Cmd+Opt+I (Mac).
2.
Navigate to the Network tab.
3.
Refresh the page or perform actions to capture traffic.
4.
Right-click any request row (or the empty space) and select Save all as HAR with content.
π· Visual Reference: Chrome DevTools
Phase 2: Import into Apidog#
1
Upload FileGo to Settings > Import Data > Manual. Select HAR and upload your .har file.π· Visual Reference
2
Configure Import OptionsAdjust the settings to match your needs:Hardcode: Include the BaseURL in the specific endpoint path.
Remove: Intelligent parsing removes the BaseURL so you can manage it globally via Environments (Recommended).
Static Resource: Toggle Exclude to ignore captured images, CSS, and JS files.
Endpoint Case Generation: Turn ON to automatically generate a default test case for each imported endpoint.
Modified atΒ 2026-01-09 10:55:20