Skip to content

Instantly share code, notes, and snippets.

@rizrmd
Created June 7, 2014 03:51
Show Gist options
  • Select an option

  • Save rizrmd/5f6d94171df0af5299da to your computer and use it in GitHub Desktop.

Select an option

Save rizrmd/5f6d94171df0af5299da to your computer and use it in GitHub Desktop.
Kii REST API - Slide 29
curl -v -X POST \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-H "content-type:application/vnd.kii.QueryRequest+json" \
-H "x-kii-appid:{APP_ID}" \
-H "x-kii-appkey:{APP_KEY}" \
"https://api-sg.kii.com/api/apps/{APP_ID}/buckets/{BUCKET_NAME}/query" \
-d ‘{
"bucketQuery":{
"clause":{"type":"prefix", "field":"name", "prefix":"riz"}
}
}’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment