Questions tagged [get]
GET is one of many request methods supported by the HTTP protocol. The GET request method is used when the client needs to get data from the server as part of the request-URI.
1,299
questions
448
votes
7
answers
779k
views
What is the difference between POST and GET? [duplicate]
I've only recently been getting involved with PHP/AJAX/jQuery and it seems to me that an important part of these technologies is that of POST and GET.
First, what is the difference between POST and ...
286
votes
15
answers
218k
views
When should I use GET or POST method? What's the difference between them?
What's the difference when using GET or POST method? Which one is more secure? What are (dis)advantages of each of them?
(similar question)
430
votes
17
answers
713k
views
How to retrieve GET parameters from JavaScript [duplicate]
Consider:
http://example.com/page.html?returnurl=%2Fadmin
For js within page.html, how can it retrieve GET parameters?
For the above simple example, func('returnurl') should be /admin.
But it should ...
290
votes
8
answers
440k
views
Escaping ampersand in URL
I am trying to send a GET message that contains strings with ampersands and can't figure how to escape the ampersand in the URL.
Example:
http://www.example.com?candy_name=M&M
result => ...
633
votes
19
answers
934k
views
How to get GET request values in Django?
I am currently defining regular expressions in order to capture parameters in a URL, as described in the tutorial. How do I access parameters from the URL as part the HttpRequest object?
My ...
336
votes
13
answers
445k
views
Passing base64 encoded strings in URL
Is it safe to pass raw base64 encoded strings via GET parameters?
314
votes
29
answers
187k
views
Is either GET or POST more secure than the other?
When comparing an HTTP GET to an HTTP POST, what are the differences from a security perspective? Is one of the choices inherently more secure than the other? If so, why?
I realize that POST doesn't ...
271
votes
6
answers
184k
views
How to "perfectly" override a dict?
How can I make as "perfect" a subclass of dict as possible? The end goal is to have a simple dict in which the keys are lowercase.
It would seem that there should be some tiny set of primitives I can ...
40
votes
7
answers
61k
views
Servlet and path parameters like /xyz/{value}/test, how to map in web.xml?
Does servlet support urls as follows:
/xyz/{value}/test
where value could be replaced by text or number.
How to map that in the web.xml?
144
votes
27
answers
443k
views
How to get the Full file path from URI
I'd like to get the full file path, from a URI. The URI isn't a Image, but it's a music file, but if i do it like the MediaStore Solution, it won't work if the app user selects eg Astro as browser, ...
145
votes
6
answers
208k
views
How are POST and GET variables handled in Python?
In PHP you can just use $_POST for POST and $_GET for GET (Query string) variables. What's the equivalent in Python?
782
votes
9
answers
334k
views
Are HTTPS headers encrypted?
When sending data over HTTPS, I know the content is encrypted, however I hear mixed answers about whether the headers are encrypted, or how much of the header is encrypted.
How much of HTTPS headers ...
28
votes
7
answers
150k
views
Why is Tkinter Entry's get function returning nothing?
I'm trying to use an Entry field to get manual input, and then work with that data.
All sources I've found claim I should use the get() function, but I haven't found a simple working mini example yet,...
603
votes
10
answers
162k
views
Logout: GET or POST?
This question is not about when to use GET or POST in general; it is about which is the recommended one for handling logging out of a web application. I have found plenty of information on the ...
347
votes
7
answers
438k
views
Correct way to pass multiple values for same parameter name in GET request
I'm looking into what is the correct way to pass multiple values for the same parameter name in a GET request.
I've seen URLs like this:
http://server/action?id=a&id=b
And I've seen URLs like ...