Questions tagged [http-get]

HTTP GET is a request method which should be used to retrieve data and should not change state of the server.

HTTP GET is a request method which should be used to retrieve data and should not change state of the server.

1503 questions
-1
votes
2 answers

http get android app crashes no result nor error

First of all, i'm pretty new to Java and i'm trying to make an app for home automation. On the server side I have a PHP script that will toggle my lights, now I would like to send a Get request with android to run the PHP script since that PHP is…
user2302718
  • 71
  • 1
  • 10
-1
votes
2 answers

URL encoding iOS NSURL error

URL which opens in Firefox,Chrome browsers on desktop, doesn't open in WebView on iPhone. This URL is supposedly accessing a GET request. When creating the NSURL without percentescaping the url doesn't get generated. When using percentescape the…
roshi
  • 117
  • 1
  • 5
-1
votes
1 answer

App Crashes on HTTPGET call

I'm working on an android application, which send request to the server for get some data, but the problem is when I lost the network connection my app get crashed. or if I forget to change the IP-Address the application get crashed too. I have…
M A.
  • 855
  • 1
  • 6
  • 24
-1
votes
1 answer

Convert HttpPost to HttpGet

I have code below. I write it with httpPost, but i have to convert it to httpGet. Because the webservice that we use need HttpGet. How can i convert it and use it properly. Thkans in advance. String nameValue = new String(); HttpParams…
-1
votes
1 answer

ERROR from PHP HTTP GET

I have some php code that processes a get request which is waiting for an application to post some url to it. Here is my url waiting for the post: http://www.myurl.com/msgid=&msg_content=100+08151000091+1111&msg_sender=2347062698846 here is my php…
akisoft
  • 413
  • 6
  • 11
-1
votes
2 answers

Error "Illegal character in query at index 80"

I'm making an app that sends an SQL statement to a PHP that searches a database and returns a JSON's hosted. Currently in my app I pass this statement, SentenciaFinal has this value also: SELECT Nombre FROM Tierra WHERE Nivel <=1 AND CDE <=1000 AND…
CristianCV
  • 231
  • 1
  • 5
  • 16
-1
votes
1 answer

Android HTTPGet errors

New to Android. Trying to make a simple app to execute a httpget request to a certain site when a button is pressed. The buttons work and the toasts work but I get errors when the httpget is executed. Thanks for any help.... Here is what I…
-1
votes
1 answer

Explaining an HTTP "GET" request

I have many times successfully implemented HTTP "POST" requests in my projects, more importantly because i could understand how the request worked in my code. Now i need to make a "GET" request , but i am a bit confused on how i can accomplish it. I…
-1
votes
1 answer

Optimal networking

I am trying to make the networking part of my app more stable, more optimal, since I recieved some issues, stating it takes too much time for the queries to run. Before I share the pieces of my code, here are some infos: it is an android app, so a…
hundeva
  • 1,028
  • 15
  • 30
-1
votes
1 answer

Get data from JSP to android with GSON

I have 2 activities for getting data from .jsp file to android device. I´m using GSON for this. My project includes the gson library. The problem is, when I start the activity, the application fails down, and shows me: Unfortunately, the application…
steven967
  • 123
  • 2
  • 3
  • 15
-1
votes
1 answer

read values from website continuously at particular time interval in android

I am new to android. I had a search and found to post and get response from website. What i need is to read a response from website continuously at a particular time interval. For Example reading weather information and alert to the users. please…
Sathish
  • 2,100
  • 2
  • 16
  • 22
-1
votes
1 answer

passing HTTP GET values in url

i'm trying to send HTTP GET Request with values passed in URL for the site http://somenthing.com/c/chk.php?val=somevalue I used the following code but it doesn't seems to work HttpResponse response = null; try { HttpClient client = new…
yashhy
  • 2,663
  • 5
  • 27
  • 54
-1
votes
1 answer

A 'HttpGet' request forces a close

I use the following code, and when I click a button it force closes. I want to read the response from a web page and show it in a messagebox or a edittext or anything else. How do I fix this problem? Code HttpGet request = new…
-1
votes
3 answers

Can't make delete button using $_GET method

I got my first study task to make a script. Task is the following: Create a webform for uploading files, after file upload they are displayed on the same page in html table. This is my very first task and my priority is just to make it work. So I…
-1
votes
1 answer

Make an automatic POST/GET request with java

Take a look to this page for example http://www.hwdyk.com/quiz/m/2534/the-avengers-hard-version the thing I want to do is to call the Start Quiz Button in code , and to process the response... Then I want to select some of the four checkboxes and…
Lukap
  • 29,596
  • 60
  • 146
  • 239
1 2 3
99
100