Skip to content

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