螢幕截圖

詳細介紹

Intercept requests and return mock data directly, including XMLHttpRequest and fetch requests. This is a tool for mocking XMLHttpRequest and fetch requests. It helps developers reduce their reliance on real APIs during development, enabling more efficient coding and testing. Key features include: 1. Mock API requests made using XMLHttpRequest or fetch. 2. Automatically generate mock data from Swagger 2.0 documentation. 3. Modify request headers. 4. Modify request bodies. 5. Redirect API requests. 6. Choose from three matching modes: contains, equals, and regexp. 7. Customize the return status and response time. 8. Import and export configuration data. 9. Choose between light and dark themes. 10. Switch between Chinese and English, with the language selected automatically based on browser settings. 11. Convert configuration data into TypeScript type definitions. This is a tool for mocking XMLHttpRequest and fetch requests. It helps developers reduce reliance on real APIs during development, enabling more efficient coding and testing. Key features include: 1. Support for mocking API requests made using XMLHttpRequest or fetch methods. 2. Automatic generation of mock data based on Swagger 2.0 documentation. 3. Ability to modify request headers (Request Headers). 4. Ability to modify request bodies (Request Body). 5. Support for redirecting API requests. 6. Offers three matching modes: contains, equals, and regexp, to meet different API matching needs. 7. Customization of return status and response time. 8. Support for importing and exporting configuration data. 9. Light and dark themes available. 10. Bilingual support for Chinese and English, with automatic language selection based on the browser's language settings. 11. Configuration data can be converted into TypeScript type definitions.