Results 1 to 2 of 2

Thread: Cannot access latte shop via visit_url() in scripts

  1. #1
    Junior Member
    Join Date
    Sep 2016
    Posts
    1

    Default Cannot access latte shop via visit_url() in scripts

    It looks like I am not able to access the latte shop in scripts:
    Code:
    void main() {
    	buffer page = visit_url("main.php?latte=1");
    	print(page);
    }
    This appears to respond with the main pane instead of the latte shop.

    It looks like actually clicking on the [use] latte button redirects to choice.php in the relay browser.

    I am running on r19076

  2. #2

    Default

    That's because you need to use GET instead of POST, by using
    Code:
    visit_url("main.php?latte=1",false)

Posting Permissions

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