Nest js 使用axios模块

文档

let r = await this.http.get(`https://api.github.com/users/januwA`).toPromise().then(v => v.data);
l(r);
posted @ 2018-10-20 15:51  Ajanuw  阅读(2013)  评论(0编辑  收藏  举报