import Api from '@/services/Api'

export default {
  index () {
    return Api().get('songs')
  },
  post (song) {
    return Api().post('song', song)
  },
  show (songId) {
    return Api().get(`song/${songId}`)
  }
}

@@ -206,14 +206,104 @@
 ngId%7D%60)%0A
+  %7D,%0A  put (song) %7B%0A    console.log('Song', song)%0A    return Api().put(%60song/edit%60, song)%0A
   %7D%0A%7D%0A

add put method to SongsService