When creating an API that takes one argument from the request, I use this code:
class test(Resource):
def get(self,id):
return id
api.add_resource(test, '/endpoint/<int:id>')
What would I do if I need it to take multiple parameters?
I'm using python 3 and flask-restplus.
Any help is very appreciated!
BR Kresten