Skip to content

Commit

Permalink
Replace 'api-staging' with 'api'
Browse files Browse the repository at this point in the history
  • Loading branch information
jandom committed Jan 17, 2019
1 parent 3a874d9 commit 6269e6a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -25,7 +25,7 @@ Create a file called ‘authenticate.py’
'password': 'YOUR-PASSWORD',
}
print(data)
url = 'https://api-staging.labstep.com/public-api/user/login'
url = 'https://api.labstep.com/public-api/user/login'
r = requests.post(
url,
json=data,
Expand Down Expand Up @@ -57,7 +57,7 @@ Create a new file called ‘create-protocol.py’
'name': 'Programmatic Protocol',
}
print(data)
url = 'https://api-staging.labstep.com/api/generic/protocol'
url = 'https://api.labstep.com/api/generic/protocol'
r = requests.post(
url,
json=data,
Expand Down Expand Up @@ -108,7 +108,7 @@ Create a ‘create-experiment.py’ file
}
print(data)

url = 'https://api-staging.labstep.com/api/generic/experiment'
url = 'https://api.labstep.com/api/generic/experiment'
r = requests.post(
url,
json=data,
Expand Down Expand Up @@ -152,7 +152,7 @@ You can attach files / images to your experiment by specifying the experiment_id
files = {'file': open('IMG_0001.png', 'rb')}
data = {'experiment_id':123}
print(files)
url = 'https://api-staging.labstep.com/api/generic/file/upload'
url = 'https://api.labstep.com/api/generic/file/upload'
r = requests.post(
url,
headers=headers,
Expand Down
2 changes: 1 addition & 1 deletion attach-file-to-experiment.py
Expand Up @@ -8,7 +8,7 @@
files = {'file': open('IMG_0001.png', 'rb')}
data = {'experiment_id': 123}
print(files)
url = 'https://api-staging.labstep.com/api/generic/file/upload'
url = 'https://api.labstep.com/api/generic/file/upload'
r = requests.post(
url,
headers=headers,
Expand Down
2 changes: 1 addition & 1 deletion authenticate.py
Expand Up @@ -8,7 +8,7 @@
'password': 'YOUR-PASSWORD-HERE',
}
print(data)
url = 'https://api-staging.labstep.com/public-api/user/login'
url = 'https://api.labstep.com/public-api/user/login'
r = requests.post(
url,
json=data,
Expand Down
2 changes: 1 addition & 1 deletion create-protocol.py
Expand Up @@ -11,7 +11,7 @@
'name': 'Programatic Protocol',
}
print(data)
url = 'https://api-staging.labstep.com/api/generic/protocol'
url = 'https://api.labstep.com/api/generic/protocol'
r = requests.post(
url,
json=data,
Expand Down

0 comments on commit 6269e6a

Please sign in to comment.