Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented call is GET /network-device/module/{id}, not query parameter #27

Open
annegentle opened this issue Jun 10, 2018 · 1 comment

Comments

@annegentle
Copy link
Collaborator

Based on the DNA Center documentation, this line should not work but it does, surprise! 🎉
This works in the current solution:

tmp_url = tmp_url + 'network-device/module?deviceId=%s' % device_id

Based on docs, this should work:

tmp_url = tmp_url + 'network-device/module/%s' % device_id

Eventually figure out which it is implemented as and make sure docs/code match.

@ianmaskellntt
Copy link

ianmaskellntt commented Mar 17, 2020

Below is what worked for me. deviceId requires a capital 'I' as its case sensitive.

tmp_url = tmp_url + 'network-device/module?deviceId=%s' % device_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants