mirror of
https://github.com/arnaucube/blockchainIDsystem.git
synced 2026-02-08 19:46:41 +01:00
added GetBlockchain in REST API of the serverCA, also added the visualization to the serverCA webapp
This commit is contained in:
@@ -19,4 +19,14 @@ angular.module('app.main', ['ngRoute'])
|
||||
}, function(data, status, headers, config) {
|
||||
console.log('data error');
|
||||
});
|
||||
|
||||
$scope.blockchain={};
|
||||
$http.get(urlapi + 'blockchain')
|
||||
.then(function(data, status, headers, config) {
|
||||
console.log('data success');
|
||||
console.log(data.data);
|
||||
$scope.blockchain = data.data;
|
||||
}, function(data, status, headers, config) {
|
||||
console.log('data error');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user