Hi All, This piece of code works: apiURL='https://api.meraki.com'
apiRessourcepath='/api/v1/networks/'+str(networkID)+'/devices'
myheaders={'X-Cisco-Meraki-API-Key' : main.myAPIKEY}
response = requests.request("GET",apiURL+apiRessourcepath,headers=myheaders)
myresponse = response.json() but this one retrieves an error 404: apiURL='https://api.meraki.com'
apiRessourcepath='/api/v1/networks/'+str(networkID)+'/vlans'
myheaders={'X-Cisco-Meraki-API-Key' : main.myAPIKEY}
print(apiURL+apiRessourcepath)
response = requests.request("GET",apiURL+apiRessourcepath,headers=myheaders) Do you have an idea why? it is written in python. same api-key, same network ID value, etc. Only the endpoint ressource changes. Happy to get any clue. Regards Adrien
... View more