Updated auto_method to accept path parameter and updated tests

This change will expose the path parameter on auto_method to allow the creation of endpoints that can accept parameters via the url.