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.
17,164
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
341
votes
8
answers
737k
views
How to send a GET request from PHP?
I'm planning to use PHP for a simple requirement. I need to download a XML content from a URL, for which I need to send HTTP GET request to that URL.
How do I do it in PHP?
337
votes
8
answers
518k
views
How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?
There is an online HTTP directory that I have access to. I have tried to download all sub-directories and files via wget. But, the problem is that when wget downloads sub-directories it downloads the ...
336
votes
13
answers
445k
views
Passing base64 encoded strings in URL
Is it safe to pass raw base64 encoded strings via GET parameters?
333
votes
8
answers
825k
views
How to pass parameters in GET requests with jQuery
How should I be passing query string values in a jQuery Ajax request? I currently do them as follows but I'm sure there is a cleaner way that does not require me to encode manually.
$.ajax({
url: ...
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 ...
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 => ...
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)
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 ...
267
votes
23
answers
335k
views
How to build query string with Javascript
Just wondering if there is anything built-in to Javascript that can take a Form and return the query parameters, eg: "var1=value&var2=value2&arr[]=foo&arr[]=bar..."
I've been wondering ...