Skip to content

Commit 12efe30

Browse files
committed
updates
1 parent 0c7c870 commit 12efe30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getSingleRecord.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
if args.uri:
1212
uri = args.uri
1313
else:
14-
uri = raw_input('Enter handle: ')
14+
uri = raw_input('Enter handle (\'/repositories/3/resources/564\'): ')
1515

1616
baseURL = secrets.baseURL
1717
user = secrets.user
1818
password = secrets.password
1919

2020
auth = requests.post(baseURL + '/users/'+user+'/login?password='+password).json()
21-
session = auth["session"]
21+
session = auth['session']
2222
headers = {'X-ArchivesSpace-Session':session, 'Content_Type':'application/json'}
2323

2424
print baseURL+uri

0 commit comments

Comments
 (0)