Changed the put.io api get function

Changed this to be using query in the browser, will hopefully fix the
issues on the server