This very simple example shows you how to make a search request and how to output the results as a JSON object into the page.
Click here to view our JavaScript example: Code