Open mangled-data opened 1 year ago
The normal way to achieve this is by separating the type of resource from the identifier. So /customer/{id}
for example.
Chalice lets you do something like this.
@app.route('/customer/{id}', methods=['GET'])
def get_customer(id):
return {'who': f'customer{id}'}
I would like to use chalice to setup API gateway. I start with a simple route
Now customer3 arrives few days later. Is there a way to update without shutting down and restarting all the resources. Thanks for pointers as it'd help me decide if chalice is the right way to go. I just tried custom domain and chalice was such a breeze!! Fantastic productive framework!