Skip to content

Commit 6561a09

Browse files
authored
Merge pull request #50 from lmalhoit/patch-25
102-3.md-Update sandbox link
2 parents adecad0 + 0ebe3ba commit 6561a09

File tree

1 file changed

+2
-2
lines changed
  • labs/coding-102-rest-python-ga

1 file changed

+2
-2
lines changed

labs/coding-102-rest-python-ga/3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import requests
2222
import json
2323

2424
# Variable to hold access to the controller
25-
controller='devnetapi.cisco.com/sandbox/apic_em'
25+
controller='sandboxapicem.cisco.com'
2626

2727
# Create the service ticket URL
2828
url = "https://" + controller + "/api/v1/ticket"
@@ -59,7 +59,7 @@ print (json.dumps(response.json(), indent=4, separators=(',', ': ')))
5959

6060
Now, look at what the code is doing. Focus on the key code changes.
6161

62-
* `controller='devnetapi.cisco.com/sandbox/apic_em'`
62+
* `controller='sandboxapicem.cisco.com'`
6363
* Assign the variable named `controller` the APIC-EM Controller IP or DNS. The DNS assigned here is for the APIC-EM Sandbox.
6464
* `url = "https://" + controller + "/api/v1/ticket"`
6565
* Build the URL for the service ticket call by concatenating the strings.

0 commit comments

Comments
 (0)