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

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -