Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run api.py to launch the API service


Test the API (e.g. that command: curl via commands like this

curl --header "Content-Type: application/json" --request POST --data '{"text": "How to install Hyperledger fabric?"}' http://127.0.0.1/query

...