diff --git a/src/core.ts b/src/core.ts index 3cd4ee6..757802f 100644 --- a/src/core.ts +++ b/src/core.ts @@ -38,6 +38,9 @@ export class Request { } getMethod() { + if (this.requestParams.method !== undefined) { + return this.requestParams.method; + } if (this.apiParams.action === 'query') { return 'get'; }