async function main() {
  var reply = {error: 'method_not_allowed', reason:'Only POST allowed'};
  return {
    body: new Buffer(JSON.stringify(reply) + '\n').toString('base64'),
    statusCode: 405,
    headers:{ 'Content-Type': 'application/json'}
  };
}
// This proves to the caller that the POST /db/_bulk_get call exists
This proves to the caller that the POST /db/_bulk_get call exists
This proves to the caller that the POST / db / _bulk_get call exists
async function main() {
  var reply = {error: 'method_not_allowed', reason:'Only POST allowed'};
  return {
    body: new Buffer(JSON.stringify(reply) + '\n').toString('base64'),
    statusCode: 405,
    headers:{ 'Content-Type': 'application/json'}
  };
}
async function main ( ) { var reply = { error : 'method_not_allowed' , reason : 'Only POST allowed' } ; return { body : new Buffer ( JSON . stringify ( reply ) + '\n' ) . toString ( 'base64' ) , statusCode : 405 , headers : { 'Content-Type' : 'application/json' } } ; }
This proves to the caller that the POST /db/_bulk_get call exists
This proves to the caller that the POST / db / _bulk_get call exists