Closed bipul-ch-tiwari closed 10 months ago
Hi @bipul-ch-tiwari While it's not raw JavaScript, here's a REST API example using TypeScript that you might find helpful: https://github.com/hyperledger/fabric-samples/tree/main/asset-transfer-basic/rest-api-typescript
Additionally, rather than using v2.2, I recommend using the newer Long Term Support (LTS) version, v2.5 series. (Please note that the above example uses the Fabric Gateway, which is supported from v2.4 onwards.)
I have 2 project one with normal Javascript student regeneration page and other one is hyperledger fabric Javascript project. I have one ui student regeneration page in Javascript and when I click on submit button then I want to call my hyperledger fabric fabcar CreateCar method using restApi How can I do this please guide sir and i am using this fabric version :- curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.2.14 ./startFabric.sh javascript