Files
axum-async-graphql/test.sh

14 lines
277 B
Bash
Raw Normal View History

2026-05-27 13:48:02 +02:00
#!/bin/bash
ROLLEN='
{"query": "mutation {
rolleErstellen(input: { rollenname: \"Rolle 1\" }) { id }
rolleErstellen(input: { rollenname: \"Rolle 22\" }) { id }
}"}
'
curl \
-X POST http://localhost:8000/ \
-H 'Content-Type: application/json' \
-d "$ROLLEN"