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

Update WebhookChannel to use the json request option in Guzzle #13

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

Update WebhookChannel to use the json request option in Guzzle #13

wants to merge 1 commit into from

Conversation

kylestev
Copy link
Contributor

@kylestev kylestev commented Sep 3, 2017

The json option essentially does what the code is doing now (calling json_encode) along with setting the Content-Type header to application/json.


This will automatically set the appropriate Content-Type header[1]

[1] http://docs.guzzlephp.org/en/stable/request-options.html#json

@kylestev
Copy link
Contributor Author

kylestev commented Sep 3, 2017

Style CI does not pass but I did resolve the issues in #11 if that is merged.

Copy link
Member

@atymic atymic left a comment

Choose a reason for hiding this comment

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

Can you rebase against master, then i'll merge it :)

@atymic
Copy link
Member

atymic commented Nov 6, 2019

ping @kylestev

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.

2 participants