Jump to content

Receive a Json Array in uniGUI

Fred Montier

Recommended Posts

Hi there...

I need to receive a json array and I figured out that it was supposed to be handled in ServerModule, in UniGUIServerModule.OnHTTPDocument  on in UniGUIServerModule.OnHTTPCommand.

How it should work:

1- Send data to the ecommerce server  (name, card number, amount etc)

2- It will return in another transaction the JSON Array with info about it. (more detail, approved or not etc)

3- I need to get that array and manipulate it.

Where I get this Json array  ? In manual just said the "ONhttpDocument" worh like idHTTPServer event. But even there I could not put it to work properly.

PS: Don't work with Serverparams, tried already.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...