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)
What request type is it use? I am trying to test graphql hander in lambda function and have error: