Skip to content

Getting started

Endpoint

Stuur alle GraphQL-requests als POST naar:

https://graphql.persmonitor.nl/graphql

Body (JSON):

json
{
  "query": "query { ... } of mutation { ... }",
  "variables": { }
}

variables is optioneel.

Voorbeeld (curl)

bash
curl -X POST https://graphql.persmonitor.nl/graphql \
  -H "Content-Type: application/json" \
  -d '{"query":"query { __typename }"}'

Authenticatie

Momenteel is er geen authenticatie op het GraphQL-endpoint. Later kan hier een Bearer-token of API-key worden toegevoegd.