Skip to content

How to get downstream api (which are defined in yml) status code? #3578

Answered by ardatan
shadikkhan asked this question in Q&A
Discussion options

You must be logged in to vote

Even in case of errors, GraphQL APIs return 200 with errors inside the response body. This would be the same for almost all GraphQL Server implementations.
https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#status-codes

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shadikkhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants