title: Difference between GET data as a function parameter and an item from requests.arg
body: <p>I would like to know if there is any difference between:</p>
  
  <pre><code>@app.route('/api/users/&lt;int:id&gt;', methods=['GET'])
  def get_user(id):
      pass  # handle user here with given id
  </code></pre>
  
  <p>and</p>
  
  <pre><code>@app.route('/api/users')
  def get_user():
      id = request.args.get('id')
      # handle user here with given id
  </code></pre>
  
  <p>Furthermore, is there a way to get multiple parameters in the former? Can they be optional parameters?</p>