cURL
curl --request POST \ --url http://localhost:4040/query/game/{queryType} \ --header 'Content-Type: application/json' \ --data '{ "key": "playerCount" }'
{ "playerCount": 0 }
Evaluate a custom pre-registered Cardinal query endpoint
The query type
Successful response
The response is of type object.
object