Top "Query-string" questions

The part of a URL after the ? (question mark), containing parameter=value pairs separated by & (ampersand).

REST API Best practices: args in query string vs in request body

A REST API can have arguments in several places: In the request body - As part of a json body, …

json api rest http query-string
Query string not working while using attribute routing

I'm using System.Web.Http.RouteAttribute and System.Web.Http.RoutePrefixAttribute to enable cleaner URLs for my Web API 2 application. …

c# asp.net-web-api query-string asp.net-web-api-routing attributerouting
How to encode a query string so that it is the value of another query string in javascript?

I have a javascript function which passes as a query string value another query string. In other words, I want …

javascript encoding query-string
Is there a way to get all the querystring name/value pairs into a collection?

Is there a way to get all the querystring name/value pairs into a collection? I'm looking for a built …

c# asp.net collections query-string
Decoding URI query string in Java

I need to decode a URI that contains a query string; expected input/output behavior is something like the following: …

java decoding query-string
Capture incoming URL Parameters, then pass to iFrame Src with Javascript

So trying to figure out how to do this with window.location in Javascript. I'm sending users to our site …

javascript iframe google-analytics query-string window.location
How can I remove the query string from the url after the page loads?

I have a URL with a long query string attached to it. After the page loads, I do not require …

javascript html url query-string
Capture value out of query string with regex?

I am trying to select just what comes after name= and before the & in : "/pages/new?name=J&…

javascript regex query-string
How do I serialize an object into query-string format?

How do I serialize an object into query-string format? I can't seem to find an answer on google. Thanks. Here …

asp.net serialization object query-string
How do I access query string parameters in asp.net mvc?

I want to have different sorting and filtering applied on my view I figured that I'll be passing sorting and …

asp.net-mvc query-string