The .post() returns a promise. You need to await it or handle with .then. From got npm's page: const {body} = await got.post('YOUR_ENDPOINT' ...
確定! 回上一頁