nordcloud / lambda-wrapper

Wrapper for running lambda modules locally during development
MIT License
30 stars 17 forks source link

Request type? #24

Closed webchi closed 6 years ago

webchi commented 6 years ago

What request type is it use? I am trying to test graphql hander in lambda function and have error:

sls invoke test
Serverless: Tests being run with nodejs8.11,  service is using nodejs8.10. Tests may not be reliable.

  graphql
{ statusCode: 405,
  headers: { Allow: 'GET, POST', 'Access-Control-Allow-Origin': '*' },
  body: 'Apollo Server supports only GET/POST requests.' }
    ✓ implement tests here

  1 passing (10ms)