Skip to content

Commit

Permalink
Merge pull request #63 from pengz1/Update-cisco-poap-script-to-use-la…
Browse files Browse the repository at this point in the history
…test-api

 Modify cisco-poap.py to use /api/current instead of /api/1.1
  • Loading branch information
yyscamper committed Apr 18, 2017
2 parents 8d39000 + e3d8033 commit 53dcaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/templates/cisco-poap.py
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 53dcaec

Please sign in to comment.