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.

1622 questions
0
votes
1 answer

What http verb to use to send JSON in body?

I have a UI in my webapp that allows users to build fairly complex charts where they can specify chart types, chart axes, ranges, and also specify multiple filters (which can be quite complex themselves). I've written the javascript (actually…
Goat in toilet
  • 45
  • 1
  • 1
  • 4
0
votes
1 answer

How do I retrieve a list of dictionaries from request.GET?

If I make a request like so: $.ajax({ url: '/some/url/', data: { normal_list: [1,2,3], dict_list: [{foo:'a'}, {bar:'b'}] } }) ... then I can't seem to get dict_list out of request.GET using getlist. Here's what I see when I set up a…
hughes
  • 5,595
  • 3
  • 39
  • 55
0
votes
1 answer

GET method in fetching values and display data according to categories

I'm working on an online menu ordering system and I wanted to filter the data according to its category. I've tried to make it work with this code but it's only displaying one category. **
  • 0
    votes
    2 answers

    ANDROID - Connection not staying when activity is changed

    I am developing an app that logs onto a tomcat server. I am using a HTTP GET request to do so, and upon successful connection, the message is displayed via a buffered stream. The following code, is used to connect. public String getInternetData()…
    Hydar Roze
    • 85
    • 1
    • 1
    • 4
    0
    votes
    3 answers

    Equality nonsense in Android

    The problem is that I expect the text that I read from a webpage calling grabURL is absolutely equal to what I put into String lorem in the onPostExecute. But Android says: "No, it does not!" Why do I think Android is not right about equality? 1)…
    Ivan Fazaniuk
    • 1,062
    • 3
    • 11
    • 26
    0
    votes
    2 answers

    Can I send a Android HttpGet (not HttpPost) with 1 string param?

    Im coding a RESTful API & Android client at the same time as I go and im currently working on pulling the users profile from the server. I feel like this should definitely be a get request being that im only pulling existing data and im not…
    ChuckKelly
    • 1,742
    • 5
    • 25
    • 54
    0
    votes
    2 answers

    Android HTTP POST connection to file with response

    How do I send the data to this PHP file below? I can establish the connection and send data, but can't receive the response. I need to send 3 parameters, the "op", Username and password. switch ($_POST["op"]) { // User Authentication. case…
    Dim
    • 4,527
    • 15
    • 80
    • 139
    0
    votes
    1 answer

    Http Get method to display map in android

    I have a google map code in xxx.php file. How to display that map using android application using Http Get method in android. Thanks in advance.
    user1844654
    • 133
    • 1
    • 2
    • 14
    0
    votes
    2 answers

    Null Pointer Exception in getting search results from twitter

    I'm trying to obtain a random tweet given the search terms specified in the SearchURL variable. However, when I run the method it doesn't return the results. I know that the error occurs on this line: HttpResponse tweetResponse =…
    0
    votes
    1 answer

    App crashes on HttpGet(url) when attempting to send to JSON

    My app has been using the same code for over a years where it send an email address and a password to my JSON web services site and then retrieves the given information. I'm now trying to send some extra information for updating purposes but when I…
    user616076
    • 3,907
    • 8
    • 38
    • 64
    0
    votes
    1 answer

    HTTP fails when Android communicates with Arduino via WiFly

    I am trying to pass a command to my Arduino device using HTTP. The device receives the command, and it performs as expected. But I am getting an error in HttpClient.execute() as I mentioned below.. How do I correct the code? protected String…
    user1822729
    • 825
    • 1
    • 13
    • 27
    0
    votes
    2 answers

    Submit form with GET method

    Alright, I lost the entire morning on this and I'm getting nowhere. I have a good experience with MVC, been using it since the first betas back in 2008 but I can' t really figure this out. I substantially have 2 GET methods: the first one renders a…
    Matteo Mosca
    • 7,380
    • 4
    • 44
    • 80
    0
    votes
    2 answers

    HttpGet in an ASyncTask

    In my app, I have an Activity that display a Calendar. Besides the fact to display a basic calendar (day, month, year), I need also to display different times, such sunrise and sunset... To get accurate times, I fixed the TimeZone with the Google…
    Eliel Haouzi
    • 607
    • 1
    • 6
    • 17
    0
    votes
    1 answer

    WordNet and HTTP GET

    I want to query the endpoint of wordnet from java code using http get. I get the connection to the endpoint "wordnet.rkbexplorer.com" but I get an error, that sparsql-query is not correct. The query itself is executed, when I just type it on the…
    Salvadora
    • 359
    • 1
    • 3
    • 11
    0
    votes
    1 answer

    GET/POST request parameter encoding problems in windows store application

    I'm writing a Windows store app, and in my DAL i'm getting XML data from a web service. I'm using HTTP GET requests and responses as exposed by the site's API. I was able to successfully get data from various methods that doesn't require…
    Erez
    • 205
    • 3
    • 13
    1 2 3
    99
    100