So I’m creating a remote control, web-based UI for my robot that uses the picowireless MP library. The @route method works. However, wildcards do not. Any idea if there’s a way to do this.
For example this gives a “management error”
@route("/",methods=“GET”)
def testname(method,url):
return "My name is: " + name
However, spelling out the exact URL with no query string or anything special works fine:
@route("/hello",methods=“GET”)
def testname(method,url):
return “
Hello and welcome!”