Postman has the Automatically Follow Redirects option
enabled in Settings, so you do not have to change the
https://api.meraki.com/api/v0/organizations resource
as it is already done in the background by Postman. If
you disable the Automatically Follow Redirects option in
the Postman settings, you should see exactly the same
behavior you just saw with curl. Figure 8-1 shows the
Postman client interface with all the fields (the method
of the call, the resource URL, and the headers) populated
so that the Cisco Meraki REST API returns all the
organizations to which this account has access.
Figure 8-1 GET Organizations REST API Call in
Postman
In the body of the response, you see the same JSON-
formatted output as before, with the same organization
ID for the DevNet Sandbox account.
Let’s explore the Meraki Dashboard API further and
obtain the networks associated with the DevNet Sandbox
organization. If you look up the API documentation at
https://developer.cisco.com/meraki/api/#/rest/api-
endpoints/networks/get-organization-networks, you see
that in order to obtain the networks associated with a
specific organization, you need to do a GET request to
https://api.meraki.com/api/v0/organizations/{organiza
tionId}/networks, where {organizationId} is the ID you
obtained previously, in your first interaction with the