on-internet
← Community

Sending gzip data using restclient or postman

Stack Overflow ·

How can I send gzip data as part of body using restclient or postman?. I used apache restclient 3.2.2 also couldn't able to get the response. I have attached images for reference. Basically I have an xml file, want to convert it to gzip first and then send as part of body. To convert to GZip I used online tools to first convert my xml file to gzip and included the converted gzip file as part of body in my restclient. I got following java code and with code I'm getting response properly. But not able to get it working in restclient tool! ! restclient body URL url = new URL(String.format("%s?tid

Comments

Sign in or sign up to comment and upvote.

No comments yet.