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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -