Skip to content

Commit 394d093

Browse files
authoredJan 16, 2017
Fix for Authorization Header
Minor fix to correct the Base64 decoded Basic authorization value for connecting to the MSE server.
1 parent 7bc4b61 commit 394d093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎coding202-parsing-json/get-cmx-json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import json
33

44
req = Request('https://devnetapi.cisco.com/sandbox/mse/api/config/v1/maps')
5-
req.add_header('Authorization', 'Basic bGVhcm5pbmc6bGVhcm5pbmc==')
5+
req.add_header('Authorization', 'Basic bGVhcm5pbmc6bGVhcm5pbmc=')
66
req.add_header('Accept', 'application/json')
77

88
response = urlopen(req)

0 commit comments

Comments
 (0)
Failed to load comments.