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

Add support for calling APIs that return xml #7

Merged
merged 3 commits into from
Feb 21, 2024
Merged

Add support for calling APIs that return xml #7

merged 3 commits into from
Feb 21, 2024

Conversation

jbirddog
Copy link
Contributor

Work on sartography/spiff-arena#994

Uses xmltodict to translate an xml response into a python dictionary when can then be returned as a regular json response. Also stopped dumping the response into the v2 wrapper, since that meant responses in task data were nested json strings in the "body".

@jbirddog jbirddog merged commit 31e76be into main Feb 21, 2024
3 checks passed
@jbirddog jbirddog deleted the xml branch February 21, 2024 14:05
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