title: Invalid_Signature on Bittrex Account API Request [javascript]
body: <p>I'm trying to work out an api request for bittrex (account, not public) via ajax. Kicking back mention of Invalid Signature. I've already worked though the nonce, cors proxy and sha512 implementation. I seem to be missing something over here. Never had issues with ajax request, but haven't worked much with added encryption either.</p>
  
  <p>Here are my setup variables &amp; my request, followed by the error response.</p>
  
  <p>Setup (w/ keys removed):</p>
  
  <pre><code>var apikey      = 'removed12345';
  var apisecret   = 'removed12345';
  var nonce       = Math.floor(Date.now() /1000);
  var proxy       = 'https://cors-anywhere.herokuapp.com/';
  var uri = proxy + 'https://bittrex.com/api/v1.1/account/getbalances?apikey='+apikey+'&amp;nonce='+nonce;
  var sign        = CryptoJS.SHA512(uri, apisecret).toString();
  </code></pre>
  
  <p>Request:</p>
  
  <pre><code>$.ajax({
      url: uri,
      headers: {'apisign': sign},
      type: "GET",
      crossDomain: true,
      dataType: "json",
      success: function(bittrex) {
          console.log(bittrex);
      },
  
      error: function(xhr, status) { 
          console.log("error"); 
          console.log(status);
      }
  });
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>{success: false, message: "INVALID_SIGNATURE", result: null}
  </code></pre>