Skip to content

Instantly share code, notes, and snippets.

View dmcassel's full-sized avatar

David Cassel dmcassel

View GitHub Profile
@dmcassel
dmcassel / ex01.sh
Last active September 23, 2015 13:29 — forked from evanlenz/ex01.sh
Code samples for MarkLogic REST API
curl -X GET \
--anyauth --user rest-writer:x \
'http://localhost:8011/v1/search?q=chicken&format=json'
{
"user": {
"personal": {
"userID": 38465,
"title": "Tech Adventurer"
},
"experiences": [
{
"title": "Lead Adventurer",
"text": "experience description",
{
"user": {
"personal": {
"name": "Susan Lee",
"title": "Tech Adventurer",
"userID": 38465
}
"experiences": [
{
"company": "MarkLogic",