Skip to content

Instantly share code, notes, and snippets.

View markdstafford's full-sized avatar

Mark Stafford markdstafford

  • Microsoft
  • Redmond, WA
View GitHub Profile
var queryString = ("/Northwind.svc/Products?"
+ "$filter=((Category/Category_ID eq 1)or"
+ "substringof('tofu',tolower"
+"(Product_Name)))&"
+ "$orderby=Category/Category_Name&"
+ "$select=Product_Name");
$.ajax({
url: queryString,
dataType: 'JSON',