1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-11 23:55:12 +00:00
Files
cards-database/.bruno/graphql/card.bru

29 lines
301 B
Plaintext

meta {
name: card
type: graphql
seq: 2
}
post {
url: {{BASE_URL}}/v2/graphql
body: graphql
auth: none
}
body:graphql {
query Pouet {
card(id: "{{ID}}") {
id
}
}
}
vars:pre-request {
ID: swsh1-136
}
assert {
res.status: eq 200
res.body.data.card.id: eq {{ID}}
}