Tagged Questions
A query string is the part of a URL that contains data to be passed to web applications such as CGI programs.
0
votes
0answers
18 views
AngularJs 1 and query string in asp.net
I want to add query string to angularJs 1 in asp.net web page
when I add this url to the page : AdsDetails?AdId=406
It doesn't read the query-string and when I do : AdsDetails/406
and $http in ...
0
votes
0answers
17 views
.htaccess rewrite rule language subdirectory
I have been looking at Stack Overflow for this question for some days now, but I can't find the right situation.
What I would like is to redirect for example:
http://url.com/en/Home to http://url....
0
votes
0answers
12 views
get and post values in node js [duplicate]
Hi i am confused by some ways to get the values of get and post data in node js
req.params
req.body
req.query
What is the difference b/w all these three. I have read the experss-docs ...
0
votes
1answer
17 views
Angular state navigation - add querystring to URL
My application when starts can automatically navigate to a specified state like this:
localhost://start.html#/case
When a user navigates to this state some parameters are prepared internally to get ...
0
votes
1answer
18 views
Inserting a script in a query string
I have created a script as follows:
<script language="JavaScript">
function mdy(todaysdate) {
month = todaysdate.getMonth() + 1
year = todaysdate.getYear() + 1900
...
1
vote
0answers
25 views
How do I convert array in url querystring to a JavaScript Object [duplicate]
I have a url querystring like this:
PageSize=10&PageNumber=1&Education=master,bachelor&FromAge=20&ToAge=40&Freetext=Henry
How can I convert it into a Javascript object like this?...
0
votes
1answer
35 views
Fitting json data in a single query string variable
I am writing a web application to exchange contact information fast via QR.
I use a QR api wich is formatted like this:
`http://api.qrserver.com/v1/create-qr-code/?data=MyData&size=400x400`
I ...
0
votes
0answers
48 views
Angular Routing and Query String
I don't really know how to put this issue. I don't even know if it is really an issue, please pardon me.
I have two menu link having the same url with a query string value to differentiate what ...
1
vote
0answers
66 views
+50
Query string undefined when link opened through facebook browser (IOS)
I have a strange scenario happening with my url shared in facebook.
So I have a web url - http://myappurl.com/?id=id_value , I use this url inside iframe <iframe src="http://myappurl.com/?id=...
0
votes
1answer
35 views
Query string into array then parsed into a string
My goal is to create a form that takes user information, then add it to the url query string. The query string information will be pulled back down into an array then displayed on the second page as ...
1
vote
1answer
21 views
On button click, query string missing last key-value pair
Objective
A user will make a set of choices about what gifts they want to buy by clicking a series of buttons on panel.html, the data from those three choices pickOne, pickTwo and pickThree are saved ...
0
votes
1answer
22 views
HTML link that appends a query string to the current URL
I have a simple form like this:
<form>
<input name="search">
<button type="submit">Search...</button>
Price: <a href="?filter=price&direction=asc">...
1
vote
2answers
22 views
How to route using [HttpGetAttribute] including the query strings in AspNet.Core WebApi application?
I have the following routing, which works on invokation /api/demo/info/34.
[Route("api/demo")]
public class Demo : Controller
{
[HttpGet("Info/{x}")]
public JsonResult GetInfos(string x) { ......
0
votes
1answer
25 views
Split URI query string like they are filters ?title=php_filter&size>2&author!=smith
My google-fu is failing me today. I'm looking to parse a query sting like:
https://example.com/some/path/here?title=my_title&size>2&author!=smith
I'm looking to the parse the query string ...
0
votes
0answers
18 views
Ignore Specific Querystring Elements in Regex
I currently have the following rewrite rule on a wordpress website as part of a boilerplate to lock down certain aspects of the installation...
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(....
0
votes
1answer
40 views
http rest: Disadvantages of using json in query string?
I want to use query string as json, for example: /api/uri?{"key":"value"}, instead of /api/uri?key=value. Advantages, from my point of view, are:
json keep types of parameters, such are booleans, ...
0
votes
2answers
28 views
sending a hidden post variable and a query string get variable to a page
I have three pages start.html page2.php and final.php
start.html takes some form data variables (firstname,lastname,city,state) and sends it to page2.php using POST forms.
I then want to send those ...
0
votes
2answers
13 views
Add Page Title to source key in url for use in a form - Wordpress Website
I am trying to add a waitlist button functionality to a page on my wordpress website. Basically I need to autopopulate the source key in the query string in a url with the page title.
More Details:
...
0
votes
0answers
27 views
Adobe Analytics Beacon debugging in Chrome Dev Tools GET vs POST
I recently upgraded my Adobe Analytics implementation from H27 to AppMeas served via Adobe DTM.
I usually debug my Analytics Beacon using Chrome Dev Tools which nicely parses the Query String ...
0
votes
1answer
49 views
Android Firebase Database query select with condition
I want to SELECT * FROM products WHERE 'birthday' = true;
But can I do the same with Firebase Database ?
I have tried
DatabaseReference ref = FirebaseDatabase.getInstance().getReference();
ref. ...
-1
votes
0answers
17 views
php htaccess url rewrite how to get all the query string parameters [duplicate]
I have my URLs like
https://www.domainname.com/ads/{Dynamic Values}
E:g
https://www.domainname.com/ads/All-vehicle-Buy-and-Sell?Negotiable=nego&page=5&price=85000&brand=Toyota
...
0
votes
0answers
25 views
.htaccess add word length and remove %20
I am using .htaccess file to rewrite certain query strings to pretty urls.
Out of which, I am struggling with two certain rewrite conditions:
RewriteCond %{REQUEST_URI} (new-york|nueva-york|nova-york)...
-1
votes
1answer
26 views
How to pass Object or array with Query string in PHP
I am learning PHP and wondering How do i pass an array or object with query string using php ? I do google it but could not find a good answer about it.
Here what i wondering ?
http://www.example.com/...
0
votes
0answers
40 views
Query String Parsing - Google Tag Manager
I have a custom javascript variable created in Google Tag Manager which is supposed to parse out certain parameters from the query string, but it doesn't seem to be working entirely as intended. The ...
0
votes
0answers
10 views
ASP.NET: Refill user input on page return
I have a page that sends a variable amount of data(user input), it can be a huge querystring or small. Then the server side will validate input and return to the aforementioned page if invalid input ...
1
vote
1answer
6 views
Is there a special case in Apache2 when calling a CGI and the URI includes a single query string parameter without a value?
Today I got an error and was very surprised to get it since everything looked just fine...
I have a CGI written in C++ which accepts URIs with a query string. The query string is what selects the ...
0
votes
0answers
22 views
How to access query variables in wordpress
I want to access query string variable in "single.php" page which are assigned in "archive.php" page using these two functions
<?php set_query_var('name',value); // in archive.php page ?>
<?...
1
vote
1answer
19 views
Passing a JSON string to HTTP GET method using libcurl
I want to pass a JSON string via the HTTP GET method. Server side requires a JSON as follows:
const char* json[]= {\"revisions\":[{\"revision\":\"01\"},{\"revision\":\"02\"},{\"revision\":\"03\"},{\"...
0
votes
1answer
38 views
Get query string from extract URL if exists
I'm trying to get the value of a variable, prop, in a query string from a passed URL similar to what the gentleman in this thread did.
It works if there's a query string in the URL but if there isn't ...
0
votes
2answers
57 views
Write a url path parameter to a query string with haProxy
I'm trying to re-write a URL such as
http://ourdomain.com/hotels/vegas?cf=0
to
http://ourdomain.com?d=vegas&cf=0
using haProxy.
We used to do it with Apache using
RewriteRule ^hotels/([^/]...
0
votes
0answers
49 views
Get UUID from querystring Play framework
I have a endpoint on Java Play framework
GET /book controllers.getBook(id: java.util.UUID)
public Result getBook(UUID id) {
Book book = bookDao.getById(uid);
if (book != null) {
return ok(...
0
votes
0answers
19 views
How to grab query string parameters in an angular 2 app? [duplicate]
The router documentation is terrible and from what i saw in some other similar questions/answers, it looks like RouteParams is deprecated.
How can i grab the query string parameters in an angular 2 ...
0
votes
1answer
29 views
Passing HTML values using GET request
I am trying to pass a HTML form elements value into node.js file via GET request.
How do I do it?
I have found similar examples with POST requests but I need to use GET request alone here.
The ...
1
vote
1answer
44 views
Using <h:link> with a dynamic query string in “outcome”
In my JSF application I've got a link to a page, which is build with a dynamic query string:
<h:link outcome="list?#{controller.queryString}" value="Example" />
I can't use <f:param>, ...
0
votes
1answer
20 views
Display query string in specific format in mvc form
when we submit form with get method, it pass parameters as querystring like below:
http://localhost:2564/Blog?SearchManufacturer=land
But, I want to display query string like below:
http://localhost:...
0
votes
0answers
26 views
How to update iframe source query string without reloading
Is there a way to update an iframe source query string without reloading the frame content?
I am looking to change the source "example.com/?power=0&level=0" to example.com/?power=99&level=24
...
3
votes
2answers
29 views
Regex for my query string matches only one value
Help me please to create good regex. I have such a string:
'text&variable=tekst2&categories=metal;wood&author:elvis;arnold'
I need to retrieve all categories as separated strings so the ...
0
votes
1answer
36 views
How to Pass Text Box Value to Query String Using HyperLink Field In Client Side Using Asp.Net
Iam developing application in asp.net c#, in that i have a requirement to pass text box value through query string without using server side code,
in that iam trying some code below, but its not ...
0
votes
0answers
19 views
Pass existing query string parameters to method
I have a controller that looks like this
[HttpGet]
[Route("reporting_values")]
public HttpResponseMessage List()
{
var queryString = Request.GetQueryNameValuePairs();
// SomeMethod( ** all ...
0
votes
1answer
32 views
Problems using query strings when hiding page extension
I'm using ASP.NET with C# (Visual Studio 2015). I've implemented the following code snippet in the Global.asax file:
void Application_BeginRequest(object sender, EventArgs e)
{
//Removes ...
0
votes
1answer
40 views
Security risks of getting query string from <script> link?
In another question, I asked if it was possible to do this:
<script type = "text/javascript" src = "/js/myScipt.js?v=3"></script>
and then get the value of v within myScipt.js using ...
2
votes
2answers
65 views
jQuery get query string from it's own (self) link
Is it possible to have a javascript link like this (notice the query string):
<script type = "text/javascript" src = "/js/myScipt.js?v=3"></script>
and then in myScript.js get the ...
0
votes
1answer
23 views
Redirecting URL in IIS with querystring
I want to redirect my existing URL's to new URL For Example:
The input URL is:
www.mysite.com/show/fir/file/xyz.pdf
The outupt URL should be:
www.mysite.com/show.aspx?URL=show/fir/file/xyz.pdf
1
vote
1answer
50 views
Model Binding Collection Using HTTP GET
I want to model bind a collection of objects in a HTTP GET like so:
public class Model
{
public string Argument { get; set; }
public string Value { get; set; }
}
[HttpGet("foo")]
public ...
0
votes
1answer
11 views
Query String spaces
I was wondering how to write a Query String in a POST HTTP form request if occur some space (I guess the problem would occur in case of GET form request too) .
I am going to make an example:
If I ...
0
votes
2answers
15 views
Values from checkbox group are correct in querystring, but are not arrays in the $_GET variable
I have a form, with a checkbox group which looks like this:
<label><input type="checkbox" name="countries" value="US" class="chkcountries" checked="checked" /> United States</label>&...
0
votes
0answers
17 views
How do I pull the + symbol through to my action method
I have a generated a hash with a salt, which i use as a token for my user email confirmation, the problem is, sometimes these hash may contain the + character, I understand the query string ...
2
votes
2answers
21 views
Receive Querystring and Redirect page
How can I get a QueryString named "code" and redirect my page including the querystring?
Example-
I'll receive mydomain.com/inteface.php?code=103103
I need redirect for mydomain_new.com/interface....
0
votes
1answer
18 views
how to access GET query string multidimensional arrays in bottle python
I know how to get individual values from keys such as:
some_val = request.query.some_key
But how do you access values when you have a url like this.
Sample url :
http://blahblah.com/what?draw=1&...
0
votes
1answer
19 views
react-router transition to new page with different query string parameter
I have the following code in a file that initializes my react router:
import { Router, Route, IndexRoute, useRouterHistory } from 'react-router'
import { createHistory } from 'history'
const ...