Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
#785666
Hi
i am using following code and i got this Error.
Code: Select all
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);    
            });
        });
Error Message:{"error":{"code":404,"message":"Not Found"}}

Please help me any one.

regards ,

jagan
Nursing dissertation help topics

Home of Dissertations is the most used platform th[…]

A Dream11 clone script is a pre-made software solu[…]

A stake clone script is a pre-designed, error-free[…]

The Aviator casino game script clone script replic[…]