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.

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.

See also: ,

17143 questions
3
votes
1 answer

Understanding how POST forms are processed in PHP

This is more of an "understanding" question that a specific example. I'm coming from a Python/R/Scientific Computing background where I usually compile things or communicate through an interpreter. But everything is typically on the machine so…
user1357015
  • 11,168
  • 22
  • 66
  • 111
3
votes
1 answer

Issue with Django-forms: 'WSGIRequest' object has no attribute 'get'

I am getting this error in the Django debug-view: 'WSGIRequest' object has no attribute 'get' This is for a login-script, which most of is copied from the admin-code, mostly for practice/tweaking-reasons. The code I have, in views.py, is…
Richard Atterfalk
  • 462
  • 1
  • 10
  • 23
3
votes
3 answers

Cant get requested GET param in yii

im trying create url like this: www.domain.com/auth?join=social in yii. This is my config: 'urlManager' => array( 'urlFormat' => 'path', 'rules' => array( '' => 'site/', …
iProgrammer
  • 756
  • 2
  • 10
  • 20
3
votes
3 answers

Can you use $_GET variables when including a file in PHP? Is it possible, even from an AJAX call?

I have a PHP file that handles sending out confirmation emails. I also have a calendar that I use AJAX to do various updates. When AJAX calls the update file, it updates the database with the new information, and I want confirmation emails to be…
rhodesjason
  • 4,904
  • 9
  • 43
  • 59
3
votes
1 answer

Can not use file_get_contents() for certain url from my server (php)

So I am making a get request to a url, a https:// address, from which I want to receive only a small text. This works fine on localhost, but when I do it on my web server (hosted by one.com) it doesn't work. It shows this error: Warning:…
3
votes
2 answers

HTTP Server Python: how to test it in local?

I have 2 networks on my computer (Wifi network for internet, and local network based on wired cable) with specific mask and IP (this configuration works). I have a Python HTTP server (on my computer) for the local network: or simply >>> python…
Anthony
  • 325
  • 2
  • 5
  • 15
3
votes
2 answers

How do I change maximum length of HTTP GET request to store the params ? Is it possible?

Hi I want to increase the size of the params (in URL) via HTTP GET request. My requirement is, I am modifying a html form which is already built with few fields and the type of form request is "GET" to add another description field to it. the…
Chella
  • 1,561
  • 4
  • 23
  • 42
3
votes
3 answers

REST-style URLS and PHP

I'm having a really hard time getting my head around using REST-style URLS. Can I get a little help with this? Right now I have a query string like so: example.com/calendar_expanded?date=1270094400 I have a mod rewrite that's hiding the .php…
jay
  • 10,275
  • 5
  • 34
  • 52
3
votes
3 answers

Alternative to Query Strings to Pass Data Between ASP.Net Pages?

I am currently using a number of query string parameters to pass some data from one page to a second page (the parameters hold confirmation/error messages to display in the second page), that due to a third party product can no longer work correctly…
Tangiest
  • 43,737
  • 24
  • 82
  • 113
3
votes
2 answers

iOS - JSON data not working

I am trying to get JSON data from this API, but I get error: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (Invalid value around character 0.) UserInfo=0x8b5aa20 {NSDebugDescription=Invalid…
Tung Vo Duc
  • 503
  • 6
  • 16
3
votes
1 answer

On PHP form POST submission, add a variable to the URL

I'm building a single page application for finding a film based on genre. At the moment it uses the POST method on both the main form and the comments form. The commments form currently gets the film ID using a GET method (this was chosen to avoid…
jb93
  • 77
  • 8
3
votes
3 answers

How can I send parameters for ASP.NET webservice

I have an university project where I should implement a java powered website that uses web services: some that will be created as servlets and others that should be created as .NET "servlets". I created the java servlet that can be called as…
nucandrei
  • 926
  • 3
  • 13
  • 31
3
votes
1 answer

Node js request get page error 500

i want to make a request to a page using request module in node js, but this have a error 500 . This is part of the json response { "readable": false, "domain": null, "_maxListeners": 10, "httpVersion": "1.1", "complete": true, …
Jose Sosa
  • 2,157
  • 3
  • 17
  • 18
3
votes
2 answers

PHP Only display 2 items per page on my shopping cart

I have a working script that uses a mutlidimensional array and brings in items from my database into the users cart, however the list keeps growing. I'd like to only display 2 items in the cart, and load the next two pages if the items in the cart…
ValleyDigital
  • 1,460
  • 4
  • 21
  • 37
3
votes
3 answers

DropDownListFor selected value does not work with property in list

I have problems to set the default selected value of a DropDownList with DropDownListFor in ASP MVC 4. When the property which I want to preselect is in a list it's never selected by default as expected. Here is my code reduced to the important…
1 2 3
99
100