We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need to make POST request with a JSONObject into the body.
So for this, I use a StringEntity but I also need to specify a RequestParams.
I don't find any methods to pass these both object. We can only pass a HttpEntity or a RequestParams not both.
How can I do this?
The text was updated successfully, but these errors were encountered:
I also needs to do same. I need to post the file object , how can do with entity .
params.put("fileupload", myFile, "application/gzip");
How can I do with Entity?
StringEntity entity = new StringEntity(jsonObject.toString());
Thanks
Sorry, something went wrong.
smarek
No branches or pull requests
I need to make POST request with a JSONObject into the body.
So for this, I use a StringEntity but I also need to specify a RequestParams.
I don't find any methods to pass these both object. We can only pass a HttpEntity or a RequestParams not both.
How can I do this?
The text was updated successfully, but these errors were encountered: