DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1
"type" : "appliance"
}, ... omitted output

The output in Example 8-2 shows a list of all the
networks that are part of the DevNet Sandbox
organization with an ID of 549236. For each network,
the output contains the same information found in the
Meraki dashboard. You should make a note of the first
network ID returned by the API as you will need it in the
next step in your exploration of the Meraki Dashboard
API.


Now you can try to get the same information—a list of all
the networks that are part of the DevNet Sandbox
organization—by using Postman. As you’ve seen,
Postman by default does the redirection automatically,
so you can specify the API endpoint as
https://api.meraki.com/api/v0/organizations/549236/n
etworks. You need to make sure to specify the GET
method, the X-Cisco-Meraki-API-Key header for
authentication, and the Accept header, in which you
specify that you would like the response from the API to
be in JSON format. Figure 8-2 shows the Postman client
interface with all the information needed to obtain a list
of all the networks that belong to the organization with
ID 549236.

Free download pdf