Skip to content

Commit

Permalink
Modify cisco-poap.py to use /api/current instead of /api/1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pengz1 committed Apr 12, 2017
1 parent 8d39000 commit e3d8033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/templates/cisco-poap.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
API_SERVER_ADDRESS = '<%=apiServerAddress%>'
API_SERVER_PORT = '<%=apiServerPort%>'

switch_profile_uri = 'http://{0}:{1}/api/1.1/profiles/switch'.format(API_SERVER_ADDRESS, API_SERVER_PORT)
switch_profile_uri = 'http://{0}:{1}/api/current/profiles/switch'.format(API_SERVER_ADDRESS, API_SERVER_PORT)
switch_profile_error_uri = '{0}/error/'.format(switch_profile_uri)
cisco_switch_profile_uri = '{0}/cisco'.format(switch_profile_uri)

Expand Down

0 comments on commit e3d8033

Please sign in to comment.