Custom HTML Ajax json API form not saving forbidden
Confluence User - 18 Jun, 2018
While saving Failed to load resource: the server responded with a status of 403 (Forbidden)
<script>
$(document).ready(function(){
$.ajax({
type: "GET",
url: '/jw/web/json/monitoring/activity/list?processId=xxxid',
data: {
j_username : 'master',
hash : 'xxxxhash',
loginAs : 'xxx'
},
success: function(res) {
console.log("Called");
console.log(res)
},
error: function(a) {
console.log("Error");
console.log(a);
},
dataType: "json"
});
});
</script>
please help
form;json;api