I want to send a http post request from an angular 6 app when I close my app.My problem is when I close the app, the http request gets aborted.How can I send a http post request without getting it aborted this way? Also I don’t care about the result, I only want the request to be completed in the server. 解决方案 But is doesn't work because the page is closing and it doesn't get to the subscribe and in the network it said that the request was canceled 这篇关于以角度6发送发帖请求,无需等待响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-19 17:15