docs: def get_from_params(request, key):
      """Try to read a value named ``key`` from the GET parameters.
      """
      data = getattr(request, 'json', None) or request.values
      value = data.get(key)
      return to_native(value)