-
Notifications
You must be signed in to change notification settings - Fork 78
Closed as not planned
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Right now, in order to mock Graph API responses with the Proxy, you need to manually build the responses file. We should allow creating responses from a HAR file, to simplify the process. To start, we'd support HAR files that are generated by Chromium-based browsers (Edge, Chrome) and consider extending to other sources in the future.
Spec:
- introduce new option
--har-filethat customers can use to point the proxy to a .har file - when customer uses the
--har-fileoptions, the proxy starts, generates mock responses and closes - generated responses are sent to stdout. That way customers can decide themselves how they want to handle them: pipe to another command or save to a file using output redirection
> responses.json
garrytrinder, gavinbarron and bjdekker
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists