Im using HttpURLConnection to do simple HTTP post and get, I know i can add parameters to the connection using DataOutputStream.writeBytes() for the post but this does not work if i try and send JSON type text. What can i use in java to send JSON HTTP post's.
posted 7 years ago
Hi Guys, Sorry i got it working, it was a problem on the server side and not with my code at all.
posted 6 years ago
I have the same problem like you had. I dont yet know how to modify the json-String, so that I can post it. Please could you send me some code lines?