remove unused data from the url in the session test script
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Jan 2013 08:25:12 +0000 (09:25 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Jan 2013 08:25:12 +0000 (09:25 +0100)
session-test.sh

index d569d536aeb4f598ba6cb80b397d78d1afc56540..bfe665750e91856aba9e12451a9f859d530d44b6 100755 (executable)
@@ -27,7 +27,7 @@ wget -q -O- \
                        "test",
                        {},
                ]
-       }' "http://localhost:8080/ubus/$sid/session/list"
+       }' "http://localhost:8080/ubus/$sid"
 echo "Request 2"
 wget -q -O- \
        --post-data='[
@@ -49,4 +49,4 @@ wget -q -O- \
                        {},
                ]
        },
-       ]' "http://localhost:8080/ubus/$sid/session/list"
+       ]' "http://localhost:8080/ubus/$sid"