概述
Mokku Walkthrough: https://youtu.be/NDJ-UifByiE
Read FAQ's here: https://get.mokku.app/faq
Mokku adds itself as a tab in your Dev Tools panel. From there, you can see network logs, manage mocks, and much more.
1. Mock API Calls
- Specify JSON body, HTTP status, time delay, and headers.
- GraphQL Support: Supports mocking GraphQL queries and mutations.
- Dynamic Response Mocking: Write JavaScript functions to return complex, conditional responses.
- Dynamic URL Support: Use patterns like goals/:goalId. The URL parameters are available for your dynamic response function.
- VSCode Editor Added Monaco editor, the VSCode editor for editing response and functions
We Uses path-to-regexp v8.2.0 for dynamic url matching.
2. Modify Headers
- Easily modify request headers—globally for all requests or specifically for individual URLs.
3. Projects
- Group and organize your mocks and headers by Project for simplified management.
4. Import / Export
- Keep your mocks & headers by exporting by project basis and import them back as well.
⚙️ How it Works & Privacy
- Mokku operates within the Dev Tools panel, showing network logs and enabling mocking.
Any network call from the logs can be mocked with a simple click, or you can create a mock from scratch.
- Access/Injection: All URLs are accessible, but Mokku does not inject scripts into any page apart from those served locally (http://localhost*) until manually enabled from the Panel.
🔒 Privacy Policy
Mokku is committed to user privacy:
- It does not collect or ask for any personal information.
- Mocks are stored securely in the Chrome store.
Read more at https://github.com/mukuljainx/mokku?tab=readme-ov-file#-mokku-mock-api-calls-seamlessly
Change log: https://github.com/mukuljainx/Mokku/blob/master/CHANGELOG.md
来自商店的评价 (0)