I have a JSON response like this
"3928593-236523632-2353253"
after posting some data to a api.
I am trying to assign that response to a variable.
For example var x = data; (where data is the variable set for the https response in a request call)
but this is giving a error
Now usually i would expect something like
[{test: '2352532352352'}]
and i could of cousre go var x = data.test;
When its not like this, how can i attribute the data to a variable?
Thanks
but this is giving a errorwhat error is that giving you?