标签: json http http-headers angular7
这是我的http请求,可能会在其中收到blob或json作为响应。需要处理两种情况
D
如何在angular7中做到这一点?我尝试使用管道作为responseType:'blob'|'json 但没有用。