Results 1 to 7 of 7

Thread: Documentation for AsyncWebRequest()

  1. #1
    Basic Member jimmydorry's Avatar
    Join Date
    Dec 2012
    Posts
    814

    Exclamation Documentation for AsyncWebRequest()

    Has any one figured out how to get at the returned data from an AsyncWebRequest() call?

  2. #2
    Basic Member jimmydorry's Avatar
    Join Date
    Dec 2012
    Posts
    814
    Never mind. Penguinwizzard and SelenaGomez figured it out.

  3. #3
    Basic Member
    Join Date
    Jun 2015
    Posts
    7
    After a little investigating, you have to supply success/error callbacks:

    http://hastebin.com/xojoxeketi.vbs

    EDIT: Nevermind, I hadn't refreshed my page yet.

  4. #4
    Basic Member
    Join Date
    Aug 2013
    Posts
    26
    I also curious about this question, can you share something about the solution?

  5. #5
    Basic Member
    Join Date
    Jun 2015
    Posts
    7
    I just posted the solution above your post. I only made an edit because I hadn't realized jimmydorry had already found the solution.

  6. #6
    Basic Member zedor's Avatar
    Join Date
    Jun 2013
    Posts
    39
    2nd param is keyval, for example { type: 'POST', data: {'selena':'gomez'}, complete: CallbackFunc }
    there's also timeout, headers and error afaik

  7. #7
    Basic Member
    Join Date
    Nov 2011
    Posts
    78
    if someone didn't figured it yet:

    AsyncWebRequest('<URL>', {type: 'POST', data: {'key':'value'}, complete: <func>, timeout: 50000, headers: {} })

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •