Skip to content

Instantly share code, notes, and snippets.

@cdeckert
Created October 24, 2012 12:34
Show Gist options
  • Save cdeckert/3945831 to your computer and use it in GitHub Desktop.
Save cdeckert/3945831 to your computer and use it in GitHub Desktop.
var inputData = {
"groups": [
{
"trail": "a002000000Ep07J",
"adults": "2",
"children": "3"
},
{
"trail": "a002000000Ep07K",
"adults": "4",
"children": "5"
}
],
"food": "true",
"giftCode": "CODE"
};
$.ajax
({
url: '/services/apexrest/price',
data: inputData,
success: function (resultData)
{
console.log(resultData);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment