javascript - Get all responses from calls to a specific server (localhost) -
i running iis , web app locally consists of angular frontend , c# backend. app makes calls , java api services externally. need able cache json responses coming java api services. there way of watching localhost (running iis development) json responses http requests stored ?
i have looked angular interceptors, caching , haven't found looking for. aim store json responses if services layer down can reload stored json response , continue working mock data. can run local server (eg json-server) looks @ file , loads json there need populated made json responses if exist , hence watching of calls localhost needed. (i prefer javascript way of achieving open suggestions)
thanks in advance
Comments
Post a Comment