Skip to content

Instantly share code, notes, and snippets.

@mikebaldry
Created March 9, 2012 13:25
Show Gist options
  • Select an option

  • Save mikebaldry/2006495 to your computer and use it in GitHub Desktop.

Select an option

Save mikebaldry/2006495 to your computer and use it in GitHub Desktop.
always doing a GET?
$.ajax({
url: "/oasis/incoming_call",
dataType: "json",
data: {
id: leadId,
contact: {
call_id: callId,
campaign_name: campaignName
}
},
method: "POST",
success: okCb,
error: errCb
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment