Question: how to send data from android to server using json?
Answer: Create Url object for your URL. Open url connection from the url object. Set headers and output stream. Write data to output stream. Send the POST request. Get response Inputstream, convert it to String and return it.