REST call Javascript REST call Javascript curl curl

REST call Javascript


No need to add escaping to your data element... you can send a whole object and jQuery will take care of it for you.

$.ajax({  type: 'put',  url: 'https://this.is.my/url',  dataType: 'json',  data: {    name: 'Marcus0.3',     start: 500000,    end: 1361640526000   }});