Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何记录所有通过的请求$httpBackend?我知道如何用 给出模拟响应.respond(),如何让请求通过.passThrough(),但我怎样才能只拦截请求以记录它然后让它通过?
$httpBackend
.respond()
.passThrough()