Coder
- Forum posts: 1
Apr 21, 2017, 7:08:31 AM via Website
Apr 21, 2017 7:08:31 AM via Website
Hi guys, i try to send blood type of user. it is something in my country; 0 RH + so i can send 0 RH its fine (i can save it db) however +(positive) couldn't send. it is releted with get method beacuse we can't send special characters i guess.
So is there any other way that i can send + positive or - negative symbols with get method.
sending_url = "?blood="+blood_type;
SendData send = new SendData();
send.execute(sending_url);
//send data (Asynctask background)
URL url = new URL("://....com/page.php"+url);
HttpURLConnection con = (HttpURLConnection) url.openConnection();
bufferedReader = new BufferedReader(new InputStreamReader(con.getInputStream()));
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.