Linked Questions

1 vote
1 answer
105 views

Because of the way our application is built, there are sometimes duplicate keys in the URL query, like these two m keys: foo=bar&foz=baz&fom=bam&m=q50&m=350Z They are then used to do ...
oxwilder's user avatar
  • 777
2694 votes
73 answers
5.5m views

Is there a plugin-less way of retrieving query string values via jQuery (or without)? If so, how? If not, is there a plugin which can do so?
498 votes
34 answers
531k views

I have a string like this: abc=foo&def=%5Basf%5D&xyz=5 How can I convert it into a JavaScript object like this? { abc: 'foo', def: '[asf]', xyz: 5 }
Alex's user avatar
  • 66.6k
389 votes
46 answers
526k views

I've got a load of checkboxes that are checked by default. My users will probably uncheck a few (if any) of the checkboxes and leave the rest checked. Is there any way to make the form POST the ...
reach4thelasers's user avatar
376 votes
34 answers
498k views

I've got the URI like this: https://google.com.ua/oauth/authorize?client_id=SS&response_type=code&scope=N_FULL&access_type=offline&redirect_uri=http://localhost/Callback I need a ...
Sergey Shafiev's user avatar
368 votes
7 answers
496k views

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 ...
stripybadger's user avatar
  • 5,109
124 votes
18 answers
213k views

I want to add GET parameters to URLs that may and may not contain GET parameters without repeating ? or &. Example: If I want to add category=action $url="http://www.acme.com"; // will add ?...
CodeOverload's user avatar
  • 48.8k
101 votes
8 answers
125k views

I am using AFNetworking in my iOS app and for all the GET requests it makes, I build the url from a base URL and than add parameters using NSDictionary Key-Value pairs. The problem is that I need ...
AbhishekDwivedi's user avatar
156 votes
6 answers
186k views

I am building a REST API for my project. The API for getting a given user's INFO is: api.com/users/[USER-ID] I would like to also allow the client to pass in a list of user IDs. How can I construct ...
uclajatt's user avatar
  • 4,323
125 votes
2 answers
148k views

I'm trying to design a RESTful API where the users can fetch a single product or list of products in a single GET request. Each product has a unique id. The single product URL is simple enough: http://...
user824212's user avatar
  • 1,377
22 votes
9 answers
60k views

I suppose I could use PHP to access $_GET variables from JavaScript: <script> var to = $_GET['to']; var from = $_GET['from']; </script> <script src="realScript" type="text/javascript"&...
Nick Heiner's user avatar
12 votes
6 answers
18k views

Are there any standard objects or functions to parse an NSURL's components? Clearly I could write one, but why re-invent the wheel? [NSURL path] will return an NSString like "argX=x&argY=y&...
DougW's user avatar
  • 30.3k
17 votes
4 answers
6k views

Is there a Portable Class Library (PCL) version Of HttpUtility.ParseQueryString contained in System.Web or some code I could use? I want to read a very complex URL.
Muhammad Rehan Saeed's user avatar
8 votes
2 answers
20k views

I am using http://dingyonglaw.github.com/bootstrap-multiselect-dropdown/#forms to display a dropdown with multiple check boxes. <li> <label> <input type="checkbox" name="filters" ...
martincho's user avatar
  • 4,767
6 votes
5 answers
7k views

I want to construct this url using http_build_query: https://www.googleapis.com/freebase/v1/topic/m/0d6lp?filter=/common/topic/notable_for&filter=/common/topic/alias Please note that the "filter="...
Ninja's user avatar
  • 5,162

15 30 50 per page