Hi folks,
Im basically a php programmer. So im very new to asp and vbscript. I had a project to create something in php and asp. I was able to get it done in php but im struggling with asp.

I need to create a array to send to an API.

In php the array is like this.

Array
(
    [auth] => Array
        (
            [key] => jf93j
            [user] => 169
            [password] => lxter4
        )

    [module] => Array
        (
            [module] => account
            [command] => getAccountDetails
        )

    [data] => Array
        (
        )

)

How can I create this in vbscript.

Ive been checking out scripting.dictionary. But still not getting the hang of it.

Well I got it my self using Scripting dictionary

Nice of you to post the solution.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.