Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Flex variable question

Avatar

Level 2

Hello,

    I want to send user information over to a webserver using httpservice. i have multiple usernames to send.. my request would look like this:

httpservice : createAccount

createAccount.request.username_1 = "xyz";

createAccount.request.username_2 = "abc";

createAccount.request.username_3 = "def";

The number of users is dynamic. Is it possible to do it in flex??

Thanks,

Bharani

1 Reply

Avatar

Level 3

You could use an object, and then send it to your HTTPService

myService.send(myObj)