Skip to content

Update request to handle both JSON-valid string and JSON encoded dict#121

Merged
tsolakoua merged 2 commits intoamadeus4dev:masterfrom
basil08:master
Oct 28, 2021
Merged

Update request to handle both JSON-valid string and JSON encoded dict#121
tsolakoua merged 2 commits intoamadeus4dev:masterfrom
basil08:master

Conversation

@basil08
Copy link
Copy Markdown
Contributor

@basil08 basil08 commented Oct 27, 2021

Fixes

  • update __build_http_request in request.py to support both JSON objects and JSON valid strings.

Changes for this pull request

This PR is intended to close #51

Checklist

🟢 Code passes linting and tests.

Comments

The draft solution discussed in #51 is implemented as it seems a reasonable fix.

@tsolakoua tsolakoua merged commit 6110b1f into amadeus4dev:master Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the post method to support JSON string and JSON encoded object

2 participants