Amromtm Amromtm - 1 year ago 132
JSON Question

parse data from JSON url using javascript

I want to make an ajax request and parse the JSON response.
I have tried to do so with this code but with no luck

var url = ' \
$.getJSON(url, function(data) {

The response that I get is:

"response": {
"steamid": "76561198181548891",
"success": 1

the output I want:

Answer Source

A temporary solution for development would be to use

Code would be:

var url = ''
$.getJSON(url, function(data) {
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download