def _default_call(self, path, extra=None):
    webfsapi_url = self._fsapi._get_webfsapi()
    if (not webfsapi_url):
        raise Exception('No server found')
    if (type(extra) is not dict):
        extra = dict()
    params = dict(pin=self._fsapi._pin, sid=self._fsapi.session_id)
    params.update(**extra)
    with self._fsapi._access_locker as l:
        url = f'{webfsapi_url}/{path}'
        res = l.get_request(url, params=params)
        return res
def _default_call(self, path, extra=None):
    webfsapi_url = self._fsapi._get_webfsapi()
    if (not webfsapi_url):
        raise Exception('No server found')
    if (type(extra) is not dict):
        extra = dict()
    params = dict(pin=self._fsapi._pin, sid=self._fsapi.session_id)
    params.update(**extra)
    with self._fsapi._access_locker as l:
        url = f'{webfsapi_url}/{path}'
        res = l.get_request(url, params=params)
        return res