The the code sample is a working code to succefully perform an interaction between your api and dialogflow server.
To successfully see how it works, upload MoneyBot.zip to your diaglogflow and ask a question like "Converte 30 NGN to usd". but ensure you set your webhook...#Do the need full
Enjoy the code.
Thanks for the contribution @ Ijatuyi Sunkanmi