View ex01.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X GET \ | |
--anyauth --user rest-writer:x \ | |
'http://localhost:8011/v1/search?q=chicken&format=json' |
View JSON Outline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user": { | |
"personal": { | |
"userID": 38465, | |
"title": "Tech Adventurer" | |
}, | |
"experiences": [ | |
{ | |
"title": "Lead Adventurer", | |
"text": "experience description", |
View JSON Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user": { | |
"personal": { | |
"name": "Susan Lee", | |
"title": "Tech Adventurer", | |
"userID": 38465 | |
} | |
"experiences": [ | |
{ | |
"company": "MarkLogic", |