拦截器「Interceptor」

拦截器「Interceptor」

通过嘲笑HTTP请求运行没有后端的Web客户端
(7)
712 次下载Codemancers 提供
详情
从前,有只小白兔,一天它挖到一只好大的胡萝卜,往家里搬的时候,半路上杀出一只穿山甲一把抢走了小白兔的胡萝卜。小白兔生气冲着穿山甲说:“你干什么呢!”,穿山甲说: "591198815" 小白兔听了以后,立马就不要胡萝卜了。穿山甲到底说了什么?复制这条消息,然后打开支付宝,你就能知道答案。(点击复制)

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.

截图
拦截器「Interceptor」 截图
拦截器「Interceptor」 截图
* 数据来源于网络,更新于 2019-9-23 17:31:37