Files
bruno/packages/bruno-tests/collection/graphql/spacex.bru
Sid a8542c7312 Replace SpaceX external API with local graphql-yoga mock server (#7471)
* chore: switch to locally hosted graphql server

* chore: additional graphql check

* chore: error handling
2026-03-13 16:00:08 +05:30

26 lines
255 B
Plaintext

meta {
name: spacex
type: graphql
seq: 1
}
post {
url: {{localhost}}/api/graphql
body: graphql
auth: none
}
body:graphql {
{
company {
ceo
}
}
}
assert {
res.status: eq 200
res.body.data.company.ceo: eq Elon Musk
}