Run web clients without backends by mocking HTTP requests
Run web clients without backends by mocking HTTP requests During development, often times front-end devs have to wait for the back-end devs to offer an API to work on. Even after the API is given, if the front-end team wants a different set of data to work on, they again need to wait for the changes to be made and hosted. We, front-end developers resort to techniques like storing the data in a variable or using mock API’s. To overcome this, we are working on a browser extension Interceptor, which lets you define your own response, and everytime the browser requests data from a particular URL, returns you with mock data instead of, from the server.
- (2019-10-04) Alessio Scalici: Good idea, but when intercept is not successful it doesn't give any kind of feedback, and the URL input is buggy (goes to the end of input for each character I insert). Unusable for me
- (2019-01-10) It's a well designed tool, but it doesn't support intercepting requests that occur during page load, e.g., if you add an intercept rule, then reload the page, the rule will not trigger. See the github project issue #161: https://github.com/code-mancers/interceptor/issues/161
- (2018-10-11) Enrique Alcántara: This does exactly what I want. Intercepting an HTTP request and allow me to change the Status code of the response. Thanks for implementing this!