I want to make a simple POST call in Java, I am getting a 200 response code but, with the wrong response message, I am told there is a different way to make a Post call
Give a try by setting content type multipart/form-data explicitly,
multipart/form-data
post.setHeader("Content-Type", "multipart/form-data");
In your code ,
post.setEntity(new UrlEncodedFormEntity(urlParameters)); post.setHeader("Content-Type", "multipart/form-data");