Overview
Mocks api responses for AJAX (XHR) requests. (Postman for Frontend)
This is essentially built to increase productivity in frontend development. Made for developers, it lets users to define rules (url, method and mock response) to respond to AJAX calls. Supports all common libraries like axios, superagent, XMLHttp, fetch etc. Response can be a JSON object or an error. It includes a JSON formatter to automatically convert your response in proper json format. Each rule can be individually turned on/off to apply mocking. There's a global power switch to turn off mocking all the rules at once. The JSON object maker lets users to make the object in JS syntax and the formatter will convert it into valid JSON object with inverted commas and no trailing commas etc. Features: 1. Urls can be absolute complete paths or regex enabled. 2. Labels for rules, so user can add different versions of same api 3. Delay in response 4. Test your app with success and error responses. 5. Add response headers along with mock response in the rule. Steps for Users - 1. Define the api url, method, response JSON or error msg to be mocked. 2. Refresh the project and the ajax / fetch request will be mocked. Mocked url will disappear from network tab and appear in console if rule matches. For any query or bug report or feature request - reach out to nerdynbirdy@gmail.com. This extension is made with love for fellow developers. If this helps you, support us with good reviews :)) Let's build stuff.
Justin Heist-PaylocityOct 31, 2024
Only allows me to return json. i want to return html
Jinal ThakkarMay 15, 2024
This makes it super easy for the FE work to happen in parallel with BE. I just need to share the contract and done. The interface is super clean too! Thanks bud.
Deepanshu ShuklaMay 15, 2024
Too Easy to work with .
Details
- Version4.3.2
- UpdatedMay 18, 2024
- Offered bysudobird
- Size2.3MiB
- LanguagesEnglish
- Developer
Email
nerdynbirdy@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes