Skip to content

Conversation

@jpan-box
Copy link
Contributor

Fixes #261

@boxcla
Copy link

boxcla commented Mar 27, 2018

Verified that @jpan-box has signed the CLA. Thanks for the pull request!

@jpan-box
Copy link
Contributor Author

Fixed formatting errors. Should be correct now.

README.rst Outdated
body = json.dumps({"is_accepted":true})
# Pass body as "data" argument
data = body
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we set data = body here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anthonywee That seems to be what make_request needs to make passing data as body work properly. One of the most recent messages in our internal slack channel for the Python SDK refers to setting data = body, or data = whatever object contains the jsonified data. Maybe there's a better way to communicate that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, that's my personal ^ account. This is from my actual box github account.

@jpan-box
Copy link
Contributor Author

Duplicated by #265 , closing due to merge issues with 1.5.

@jpan-box jpan-box closed this Mar 29, 2018
@jpan-box jpan-box deleted the iss261 branch March 29, 2018 20:20
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.

4 participants