我从后端接收到HTML(带有Facebook登录名),但是可观察的对象试图解析它,然后才有机会对其进行任何处理...我无法向Google解释我的问题,因此即使是专业术语我正在尝试做的事,将会有很大的帮助...
You can set responseType
in your request method
this.http.post(url, body, { responseType: 'text' });
By default responseType is json and Angular try to parse it
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.