- Mon Jun 06, 2016 11:12 am
#785666
Hi
i am using following code and i got this Error.
Please help me any one.
regards ,
jagan
i am using following code and i got this Error.
Code: Select all
Error Message:{"error":{"code":404,"message":"Not Found"}}var app_doc_uid=XXXXXXXXXXXXX;
var app_uid=XXXXXXXXXXX;
var del_index=1;
var requestYmc = $http({
method: 'POST',
url: $scope.serverUrl + $scope.workspace + '/oauth2/token',
data: $scope.credentials
});
requestYmc.success(function (html) {
$scope.AccessToken = html.access_token;
var requestZmc = $http({
method: 'GET',
url: $scope.serverUrl + 'api/1.0/'+$scope.workspace+'/cases/'+app_uid+'/'+del_index+'/input-document/'+app_doc_uid,
headers: { 'Authorization': 'Bearer ' + html.access_token }
});
requestZmc.success(function (html) {
alert(html);
console.log(html);
});
});
Please help me any one.
regards ,
jagan