October 2018
Intermediate to advanced
530 pages
14h 25m
English
To be sure that all demo assets have been created, or to check what the data object of a certain asset contains, we can execute the second HTTP request in the collection. This HTTP request invokes the readAssetData transaction (chaincode function). In our case, the HTTP request retrieves (reads) the data from one of the Vehicle assets (registration number: JN6ND01S3GX194659).
Instead of calling the same REST proxy of Acme Services, we call the REST proxy of one of the other member organizations, such as emergency services, in order to demonstrate that the data is distributed to the other member organizations. The request will call the {{ErsProxyHost}}/bcsgw/rest/v1/transaction/invocation endpoint. ...
Read now
Unlock full access