I have to use POST for Asp.Net. I have to send in my own json for params.
I can get this to run as far as my server code.
But the recipes don't appear on the page.
findAll: function(paramz, success, error) {
var vars = "{ paramz : 'nada' }";
return $.ajax({
type: "POST",
url: "/WebService1.asmx/recipes",
data: vars,
contentType: "application/json; charset=utf-8",
dataType: "json recipe.models"
});
},
I can get this to run as far as my server code.
But the recipes don't appear on the page.
findAll: function(paramz, success, error) {
var vars = "{ paramz : 'nada' }";
return $.ajax({
type: "POST",
url: "/WebService1.asmx/recipes",
data: vars,
contentType: "application/json; charset=utf-8",
dataType: "json recipe.models"
});
},