Results 1 to 1 of 1

Thread: PostHTTPPage

  1. #1
    Join Date
    Apr 2017
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default PostHTTPPage

    function PostHTTPPage(Client: Integer;const Url,PostData: string): string;

    I want to automate buying items on a website that is already opened. When I changed the form method from POST to GET, the url became 'site.com/items.php?shirt=1&pant=0&buy=Buy+Items'.
    1. Is this correct?
    Simba Code:
    PostHTTPPage(Client, 'site.com/items.php', 'shirt=1&pant=0&buy=Buy+Items');
    2. How do I get the client?
    Simba Code:
    writeln(tostr(initializeHTTPclient(false)));
    returned 0.
    3. The function is supposed to return a string - why?
    Last edited by White Noise; 04-11-2017 at 03:28 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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