conradoqg / naivecoin

A cryptocurrency implementation in less than 1500 lines of code
Apache License 2.0
1.22k stars 319 forks source link

Is there anyway to call rest API not using swagger? #45

Closed votinhthuong closed 6 years ago

votinhthuong commented 6 years ago

Can you implementing a simple call rest API for view all blocks of blockchain but not using swagger.

I means, please, demonstrate a separate html javascript file that include javascript inside it for call rest API to view all blocks in blockchain.

I don't know how and where to begin!

conradoqg commented 6 years ago

Yes. Swagger is a simple UI to help you explore the API. This means that you can do the same thing using any other HTTP Client.

You can google about this or access one of the links below to learn how to do this:

Best