curl --request POST \
--url http://50.187.81.221:4000/api/v1/cubic/createGame \
--header 'Content-Type: application/json' \
--data '
{
"gameID": "uniqueGame123",
"teams": [
{
"name": "RedTeam"
},
{
"name": "BlueTeam"
}
]
}
'Initializes a new game instance with a unique identifier and defines the teams that will participate.
curl --request POST \
--url http://50.187.81.221:4000/api/v1/cubic/createGame \
--header 'Content-Type: application/json' \
--data '
{
"gameID": "uniqueGame123",
"teams": [
{
"name": "RedTeam"
},
{
"name": "BlueTeam"
}
]
}
'Game creation details including a unique game ID and participating teams.
Game successfully created.