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

Allow converting request['param'] to a JSON object if the only param given is a dictionary #29

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

gergelypolonkai
Copy link

The Zabbix API requires params to be a JSON object instead of being an array. To allow this package do this, I’ve added a config parameter (so the default behaviour remains the same), and based on this parameter I do the conversion in Payload.request()

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

Successfully merging this pull request may close these issues.

2 participants