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

Sending compressed JSON data #240

Open
colinbes opened this issue May 3, 2016 · 0 comments
Open

Sending compressed JSON data #240

colinbes opened this issue May 3, 2016 · 0 comments

Comments

@colinbes
Copy link

colinbes commented May 3, 2016

I've got myself confused here and am looking for some direction. I am wanting to send compressed json data via POST verb.

Is there a RESTLER supplied method/option for automatically doing this? Seems the postJSON only support JSON object and I don't see options fields to compress data.

If I am to do this manually, do I manually set content-type to application/json and what would be best method for compressing my json string - I assume this would now need to be a string in order to pipe to some compression function.

THanks

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