A
| 2 | Hi,
I changed my call to GET as follows:
var request = new XMLHttpRequest();
request.open("GET", "https://timshim-quotes-v1.p.mashape.com/quotes", false);
request.setRequestHeader("Content-type","X-Mashape-Key: KEY GOES HERE","Accept: application/json");
request.send();
txtOutput.value = request.statusText;
The "request.statusText" now shows as Unauthorized
Do I need to pass the application name I used when I requested my key? Any other pointers are approaciated.
Regards | So. 5:16 17/1/16 |
A
| 2 | Hi,
I changed my call to GET as follows:
var request = new XMLHttpRequest();
request.open("GET", "https://timshim-quotes-v1.p.mashape.com/quotes", false);
request.setRequestHeader("Content-type","X-Mashape-Key: KEY GOES HERE","Accept: application/json");
request.send();
txtOutput.value = request.statusText;
The "request.statusText" now shows as Unauthorized
Do I need to pass the application name I used when I requested my key? Any other pointers are approaciated.
Regards | So. 5:16 17/1/16 |