rolle domain hinzugefügt
This commit is contained in:
13
test.sh
Executable file
13
test.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user