You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.
switch(request.method){case'POST':
if(!request.query||Object.keys(request.query).length===0){thrownewHttpQueryError(500,'POST body missing. Did you forget use body-parser middleware?',);}
The text was updated successfully, but these errors were encountered:
Hitting Graphql with an empty body is not supported, but we currently expose an error from apollo-server, which we should dress up a little nicer.
▶ curl -X POST https://hxtsoafqna.execute-api.us-east-1.amazonaws.com/stage/graphql POST body missing. Did you forget use body-parser middleware?%
Find code that generates the error at https://github.com/apollographql/apollo-server/blob/master/packages/apollo-server-core/src/runHttpQuery.ts#L67
The text was updated successfully, but these errors were encountered: