【发布时间】:2020-11-16 08:24:40
【问题描述】:
我可以在 Postman 中为 GET 请求发送一个 body(json)。
我的问题是我不能在我的 yes-no.service.ts 文件中做同样的事情。
getYesNoDropdowns() {
return this.http.get(AppComponent.lookUpListUrl, { headers: headers });
}
我如何实现这一目标?我只能使用 Get。
提前致谢!
【问题讨论】: