Skip to content

Commit

Permalink
link to java client
Browse files Browse the repository at this point in the history
  • Loading branch information
Glamdring committed May 25, 2019
1 parent 30c4ab9 commit fdd899c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions examples.rst
Expand Up @@ -11,6 +11,8 @@ Creating a user profile
.. tab-container:: java
:title: Java

The Java example uses the `sentineldb-java-client <https://github.com/LogSentinel/sentineldb-java-client/>`_

.. code-block:: java
SentinelDBClient client = SentinelDBClientBuilder.create(orgId, secret).build();
Expand All @@ -33,15 +35,15 @@ Creating a user profile
.. code-block:: php
$data = <<<EOT
{
"email": "john.smith@example.com",
"password": "password",
"attributes": {
"firstName": "John",
"lastName": "Smith",
"city": "London"
}
}
{
"email": "john.smith@example.com",
"password": "password",
"attributes": {
"firstName": "John",
"lastName": "Smith",
"city": "London"
}
}
EOT;
$curl = curl_init();
Expand Down

0 comments on commit fdd899c

Please sign in to comment.