[rt-users] Creating ticket through REST API with AJAX

Jim Brandt jbrandt at bestpractical.com
Thu May 29 13:58:48 EDT 2014


      >      jQuery(document).ready( function() {
>          var formData = new FormData();
>          formData.append( 'content', fields );
>
>          $.ajax({
>      	type: 'POST',
>      	url: 'https://rt.myrtsrv.com/REST/1.0/edit',

Maybe call new instead of edit?

https://rt.myrtsrv.com/REST/1.0/ticket/new


-- 




More information about the rt-users mailing list