Call localhost APIs inside Solidity smart contract functions and return the response to react js code

Job ID: 35504868

Budget: $30 – $250 USD

I want to call localhost node js APIs from solidity smart contract (in react js project).
Local APIs such as:
GET list: http://localhost:3001/api/cities
POST: http://localhost:3001/api/city ...
UPDATE : http://localhost:3001/api/city ...

There is project attachment, you can see all the notes inside cities.js and Cities.sol files

If you want to use Oracle Blockchain then it must be free, not paid service.
You need to explain all steps to do that from my side, if there are problems, then you can access to my system using Team Viewer or any disk for example.

Thanks,
Related categories: Node.js React.js Blockchain Solidity Smart Contracts