Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For development and testing purposes, you can use the sandbox environment URL:

HTTP

Code Block
1httpshttps://staging-ignite.originate.ng/graphql

...

When your application is ready for production, use the URL below for the production environment:

HTTP

Code Block
1httpshttps://ignite.originate.ng/graphql

...

To send that to our API, it has to be wrapped in a JSON object with a query key:

Text

Code Block
1{ "query": "query { hello }" }

...

Below is how you can make a request using cURL:

cURL

Code Block
1curlcurl  -H 'Content-Type: application/json'  -X POST https://staging-ignite.originate.ng/graphql -d '{"query": "query { hello }"}'

...