mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-30 14:52:09 +00:00
29 lines
301 B
Plaintext
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}}
|
|
}
|