diff options
Diffstat (limited to 'packages/taler-util/src/http-impl.node.ts')
-rw-r--r-- | packages/taler-util/src/http-impl.node.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/taler-util/src/http-impl.node.ts b/packages/taler-util/src/http-impl.node.ts index 8ec823eca..4ca357b02 100644 --- a/packages/taler-util/src/http-impl.node.ts +++ b/packages/taler-util/src/http-impl.node.ts @@ -240,23 +240,4 @@ export class HttpLibImpl implements HttpRequestLibrary { req.end(); }); } - - async get(url: string, opt?: HttpRequestOptions): Promise<HttpResponse> { - return this.fetch(url, { - method: "GET", - ...opt, - }); - } - - async postJson( - url: string, - body: any, - opt?: HttpRequestOptions, - ): Promise<HttpResponse> { - return this.fetch(url, { - method: "POST", - body, - ...opt, - }); - } } |