Skip to content

Commit 82bd1a4

Browse files
authored
Update README.md
1 parent 1ba23eb commit 82bd1a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,10 @@ r = requests.post('https://data.jkoolcloud.com/JESL/event', headers=headers, jso
291291
```
292292
### Query jKool using Curl
293293

294-
Rest can be used to retrieve data natively (without helper classes) out of jKool using Curl. Below is an example. Please note that you also
295-
have the option of putting the token in the header instead of specifying it as a parameter.
294+
Rest can be used to retrieve data natively (without helper classes) out of your repository using `curl`. Note that you can specify your token in the HTTP header (`X-API-Key`) as well instead of specifying it as a query parameter (`jk_token`). Access tokens must have query/read permission, streaming tokens don't have query access by default.
296295

297296
```java
298-
curl -i -X GET 'https://jkool.jkoolcloud.com/jkool-service/jkql?jk_query=get%20events&jk_token=YOUR-TOKEN'
297+
curl -i -o resp.out -X GET 'https://jkool.jkoolcloud.com/jkool-service/jkql?jk_query=get%20events&jk_token=YOUR-ACCESS-TOKEN'
299298
```
300299
### Note on time stamps
301300
Time stamp fields such as `time-usec`, `start-time-usec` and `end-time-usec` are measured in microseconds (usec.), between the current time

0 commit comments

Comments
 (0)