I would like to know if there is any difference between:

```
@app.route('/api/users/<int:id>', methods=['GET'])
def get_user(id):
    pass  # handle user here with given id

```

and

```
@app.route('/api/users')
def get_user():
    id = request.args.get('id')
    # handle user here with given id

```

Furthermore, is there a way to get multiple parameters in the former? Can they be optional parameters?