1
Hello! I am sending a Json through an Httpclient and it is returning an error about header. Does anyone know what might be?
JsonDeDados = sender.sendMessageDATA();
List<NameValuePair> urlParameters = new ArrayList<NameValuePair>();
urlParameters.add(new BasicNameValuePair(infos, JsonDeDados));
StringEntity entity = new StringEntity(JsonDeDados);
post.setEntity(entity);
It worked! Thank you. I wonder if that’s all that was missing?
– user115863
If you incremented only this line and the code returned a positive response, possibly yes
– user114945