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

Issues sending a json request #19

Open
phazei opened this issue May 8, 2015 · 0 comments
Open

Issues sending a json request #19

phazei opened this issue May 8, 2015 · 0 comments

Comments

@phazei
Copy link

phazei commented May 8, 2015

I'm using L4.2.

It's currently quite difficult to send a json request. The invokeRemote method requires that the data parameter be an array, but the only way to manually set the body in guzzle3 is to send that parameter as a string.

That's changed in guzzle5 as it has better support methods for json, where I can just make the array key 'json' with an array body and it should convert it I believe.

So it would be great if either this module allowed a string as the data, or it was upgraded to use guzzle 5. Otherwise I'm not sure how it could send a json body :/

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

No branches or pull requests

1 participant