Linked Questions

8 votes
1 answer
17k views

Possible Duplicate: Send post data in android How to send a image via http post along with the form data i.e image name etc to a specified url .. which is the url of a aspx.
Kishore's user avatar
  • 2,051
0 votes
2 answers
3k views

i am making one application which should give response on the click of button like -- REQUEST HEADERS -- User-Agent: XYZ Host: root.url Content-Type: application/json; charset=utf-8 Content-Length: ...
jay shah's user avatar
0 votes
1 answer
804 views

I'm new to android and learning it now. I'm working on an application where I was able to get response form a get request successfully. Now I want to execute a POST request with a single parameter ...
Mursal Khan's user avatar
0 votes
1 answer
573 views

I was sending a String using GET in Retrofit and it worked well in my PHP server file. e.g. @GET("add.php") Call<Void> getData(@Query("value") String value); and this could be retrieved using ...
Anindya Dutta's user avatar
0 votes
3 answers
508 views

Is there a recommended way of doing post request in android? because before I use HttpPost and HttpClient for executing post request but these classes are now deprecated in API level 22.
Earwin delos Santos's user avatar
0 votes
0 answers
483 views

I am trying to receive notifications from FCM automatically whenever data in the Firebase Database is changed. What I am hoping to do is to send a POST request to https://fcm.googleapis.com/fcm/send ...
Rohit Agrawal's user avatar
1 vote
0 answers
141 views

I am new to android development, already sought on the Internet several tutorials, but found no updated ( that does not contain methods or depreciated classes - sdk23 ) saying about how to send POST ...
phdias's user avatar
  • 215
0 votes
0 answers
145 views

I am sorry, I am going mad, I have tried everything, but nothing seems to work. I need to do HTTP Post application/x-www-form-urlencoded of this: 'type' : 'Fb', 'data' : [ 'fbId' : '1234', ...
Lisa Anne's user avatar
  • 4,625
0 votes
2 answers
130 views

I've got a form built in my android layout, and have an activity that takes some text from that form and attaches it to a variable. I also have a PHP form that can handle a POST variable containing ...
Truth's user avatar
  • 514
0 votes
1 answer
88 views

I can't seem to find recent tutorials online because most of them (HttpClient for example) has been depreciated. What I want to happen here is for users to login using their ID number and password ...
no_profile's user avatar
0 votes
0 answers
71 views

I have a registration form where user can fill their information then I want to store these values onto my PHP server. This is where I am storing data from user input... I have to send this data to my ...
rozer's user avatar
  • 141
278 votes
16 answers
498k views

I am trying to do POST with HttpURLConnection(I need to use it this way, can't use HttpPost) and I'd like to add parameters to that connection such as post.setEntity(new UrlEncodedFormEntity(nvp)); ...
Michal's user avatar
  • 15.7k
139 votes
11 answers
163k views

I would like to send messages in the form of JSON objects to a server and parse the JSON response from the server. Example of JSON object { "post": { "username": "John Doe", "message": "...
Primal Pappachan's user avatar
134 votes
5 answers
160k views

I want to send an image from the android client to the Django server using Http Post. The image is chosen from the gallery. At present, I am using list value name Pairs to send the necessary data to ...
Primal Pappachan's user avatar
40 votes
5 answers
79k views

I have used the following code to create a temporary file in my android app: public File streamToFile (InputStream in) throws IOException { File tempFile = File.createTempFile("sample", ".tmp"); ...
Harikrishnan's user avatar
  • 8,093

15 30 50 per page
1
2 3 4 5 6