Add node-fetch

This commit is contained in:
Joel Male
2020-08-26 10:00:45 +10:00
parent e4e62ab7e8
commit 1cbd7b0bbc
86 changed files with 5853 additions and 27037 deletions
+2
View File
@@ -1,3 +1,5 @@
const fetch = require('node-fetch');
class Http {
async make(url: string, headers: string, body: string): Promise<any> {
return new Promise((resolve, reject) => {