I have a request being made to the Steam WebAPI via Jquery:
$.ajax({
url: myurl,
dataType: 'json',
success: success,
cache: true
});
And this is the response I get from the Steam Community servers (truncated):
{
"result": {
"status": 1,
"num_results": 25,
"total_results": 500,
"results_remaining": 475,
"matches": [
[[OMMITTED FOR BREVITY]]
But Chrome is giving me this error (and doesn't run the success function):
Uncaught SyntaxError: Unexpected token :
(This error is for line 2 - "result": { )
Am I missing something?