Hi,
I am calling fabric-smaples/asset-transfer-basic/chaincode-go using a UI.....
I have tested the calling of chaincode using both postman and commandline and is working all good for me.
I have followed the same steps for GetAllAssets function, and it worked without any error.... But Here it is giving me Error I don't know why..
Please help in this regard...
Hi, I am calling fabric-smaples/asset-transfer-basic/chaincode-go using a UI..... I have tested the calling of chaincode using both postman and commandline and is working all good for me.
REPO LINK(UI):: https://github.com/PsychoPunkSage/Vivenns/tree/Hyperledger/5_ui_restapi
Command::
NOW THE ISSUE..... I have made a very simple UI to call CreateAsset function and wrote a simple JS code to fetch it..... JS Code::
Error I'm getting
I have made some changes in fabric-smaples/asset-transfer-basic/rest-api-go/web/invoke.go to avoid CORS
I have followed the same steps for GetAllAssets function, and it worked without any error.... But Here it is giving me Error I don't know why.. Please help in this regard...
Thank You