Files
axum-async-graphql/test.sh
2026-05-27 13:48:02 +02:00

14 lines
277 B
Bash
Executable File

#!/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"