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

Added header functionality to send method in __init__.py #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zsiegel92
Copy link

The Facebook Messenger API requires this header for json content. This package wasn't fully functional for me in all cases without this header. The current format may be out of date, or simply wrong. In any case, I propose this branch be merged.

Take a look at Facebook's Messenger API documentation for buttons, for example. POST requests are sent with the header "Content-Type: application/json", which is not part of this package's current formatting.

@geeknam
Copy link
Owner

geeknam commented May 12, 2017

Please update the failing unit test.

@zsiegel92
Copy link
Author

zsiegel92 commented May 13, 2017 via email

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