Used a more resource api approach to transmitting data