How to send Https Post request in java
Wrong :- (Extra space is there in mid of www- form)
con.setRequestProperty("Content-Type","application/x-www- form-urlencoded");
Correct
con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");