mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
Actually pass URL params with API request
This commit is contained in:
parent
a469d7658a
commit
c9b6e30526
@ -38,7 +38,7 @@ class API(object):
|
||||
def _req(self, verb, path, body=None, params=None):
|
||||
response = requests.request(verb,
|
||||
url_path_join(self.base_url, 'api/contents', path),
|
||||
data=body,
|
||||
data=body, params=params,
|
||||
)
|
||||
response.raise_for_status()
|
||||
return response
|
||||
|
Loading…
x
Reference in New Issue
Block a user