How do I create an api call that does something like:
api.add_resource(MyResource, '/myresource/<myurlparameter>')
It is not clear how I can handle it from within:
class MyResource(restful.Resource):
def get(self):
print myurlparameter
return ""
Also, I noticed I can only add_resource to one level:
api.add_resource(MyResource, '/myresource') # this works
api.add_resource(MyResource, '/myresource/test') # this this not work