adding curl example code for using our api
using local firebase libraries rather than cdn