|
Hi, 👋🏽 I am using POST {{base_url}}
Content-Type: application/json
```graphql
{
health {
status
}
}
```
HTTP 200
[Asserts]
status == 200
jsonpath "$.data.health.status" == "running"tin on master [!] is 📦 v1.2.0 via 🦀 v1.78.0
🐡 ❯ hurlfmt tests/api-collection/meta/health.hurl --check
tin on master [!] is 📦 v1.2.0 via 🦀 v1.78.0
🐡 ❯ echo $status
1Am I missing something? Thanks! 🍜 |
Answered by
jcamiel
Jun 13, 2024
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @azzamsa thanks for this discussion. I think this is kind of a bug: with
--check, we return a status code of 1 whether the format is good or not. We should fix it so I'm converting this discussion to an issue.