Skip to content
Snippets Groups Projects
Commit 9a5722a6 authored by Martin Mareš's avatar Martin Mareš
Browse files

API example: Fix API URL

parent 8b3dfc50
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ def owl_init(key_file): ...@@ -23,7 +23,7 @@ def owl_init(key_file):
def owl_api(endpoint, data=None): def owl_api(endpoint, data=None):
url = 'https://kam.mff.cuni.cz/owl/api/v2/' + endpoint url = 'https://owl.mff.cuni.cz/api/v2/' + endpoint
hdrs = {'Authorization': f'bearer {api_key}'} hdrs = {'Authorization': f'bearer {api_key}'}
if data is None: if data is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment