-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add JSON Post/Put support #16
Comments
Thanks for the suggestion. This feature already kind of exists! The See the phinOptions type definition for more details. |
@ethanent I think the |
Why close this issue? Any API sending JSON without these headers is totally wrong. |
@matteocontrini @thelinuxlich Thanks for the suggestion. As of |
Add support for posting/putting JSON.
Would be cool if we could just do this:
Which would set the
Content-Type
andAccepts
headers toapplication/json
The text was updated successfully, but these errors were encountered: