1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-13 08:19:17 +00:00
Files
cards-database/.bruno/graphql/set.bru

30 lines
309 B
Plaintext

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