Jump to content

Json on the client


diegojmap

Recommended Posts

Can I access a client refuse via json?
   Str: = IdHTTP1.get ('http: // localhost: 8888 / api / sign / certificates');

If I use it on the server, of course, more if I use it on the client it gives the message

Socket Error # 10061

Would there be another way? Using javascript?

Link to comment
Share on other sites

It works normally in the browser.
But I do not know how to list within the unigui.
I tried using URLFrame and this way
  UniSession.AddJS (
    '$ .get ("http: // localhost: 8888 / api / sign / certificates") .done (function (data) {' +
    'Console.log (data);' +
    ');'
    );

Only I could not play the information for some cotrole

post-4241-0-62008900-1497039127_thumb.png

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.

Guest
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...