Hi there,
Does anyone know how I would go about passing multiple variables back in the response from my network.request?
As I was used to doing when I used to develop for Flash, I tried passing back:
userId=1&operation=Edit&errorCode=0
…but how do I then access the values of userId, operation and errorCode? My event.response just gives that string, so event.response.userId gives nothing.
I’m aware I could simply pass back a string of values separated by commas (in this case it would be 1,‘Edit’,0) and then split those out but I’d like to be able to refer to each value by name rather than having to remember a list of values with no way of identifying which is which at first glance.
Thanks,
Ian