您实际上并未在请求中发送JSON,jQuery会将您的对象转换为查询字符串。为了防止这种情况,请自己进行处理。
$.ajax({ url : '/my_project/rest/runs/1234', type : 'POST', data: JSON.stringify({ job_position : 38, token: 'moo' }), contentType: 'application/json', dataType: 'json', success : function(html) { }});


