title: Uploading song to Soundcloud account using javascript
body: <p>I am trying to upload a song to soundcloud using the souncloud API and javascript. But I don't seem to be able to do it. This is my  javascript</p>
  
  <pre><code>function ADDTRACK() {
      var test = document.getElementById('SongTrack').files[0];
      SC.get("http://api.soundcloud.com/users/redstr/tracks.json?client_id=3200814596a029b47877e63edfe6066c", {
          limit: 1
      }, function(tracks) {
          SC.POST({
              tracks: {
                  description: 'This track was recorded in Berlin',
                  asset_data: '@' + test
              }
          });
      });
  }
  </code></pre>
  
  <p>And this is my HTML upload</p>
  
  <pre><code>  &lt;input type="file" id ="SongTrack" name="pic" accept="audio/*" /&gt;
        &lt;button type="button"   onclick="ADDTRACK()" /&gt;Add TRACK&lt;/button&gt;
  </code></pre>
  
  <p>I get no errors, so can anyone point me in what im doing wrong?</p>