in source/checksum/lib/api/index.js [370:391]
async request() {
try {
let responseData = null;
switch (this.requestMethod) {
case 'OPTIONS':
responseData = await this.onOPTIONS();
break;
case 'GET':
responseData = await this.onGET();
break;
case 'POST':
responseData = await this.onPOST();
break;
default:
throw new NotImplError(`${this.requestMethod} not impl`);
}
return responseData;
} catch (e) {
const responseError = await this.onError(e);
return responseError;
}
}