I make such a request (javascript)

var get = function (url){ var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest; var getter = new XMLHttpRequest(); getter.open('GET', url, true); getter.onreadystatechange = function () { if(getter.readyState == 4) { console.log(getter.responseText); } }; getter.send(); }; 

get (' https://qiwigate.ru/api?key=b1ff6ae9958e0fe14ec2dae553461a8a&method=qiwi.get.history&start=10.09.2017&finish=10.09.2017 ');

gives the error: {"status": "error", "message": "The API key is specified incorrectly"}

I understand correctly that {key == token} ???

What do guys help out!

Thank!

  • Apparently, you misunderstand, because the documentation on this qiwigate.ru itself says that the key is 30 AZ 0-9 characters, and you are trying to transmit 32 AF 0-9 characters. - Yaant
  • Yes, I noticed after the publication ... According to the script there are suggestions? How to implement a request on JS support QIWI is terrible ... The second day is silent. - Masalta
  • Implemented in 15 lines QIWI API support is dead. - Masalta

0