Questions tagged [query-string]

The part of a URL after the ? (question mark), containing parameter=value pairs separated by & (ampersand). In a request made to a web application at a particular URL, the parameter+value data in the query string is parsed/consumed by the web application on the backend that receives the request.

Filter by
Sorted by
Tagged with
0 votes
2 answers
28 views

htaccess rewrite condition 404 all querystring only on index page

i was trying to protect the main page because on google console my report on a querystring is visible like this example: https://example.com/?s=something.g i would like to 404 all querystring only on ...
Dhon Collera's user avatar
0 votes
0 answers
11 views

Is it possible to disable encoding of query strings when forwarding request by Yarp?

I have following scenario, I am sending GET request to Yarp in order to be forwarded: http://localhost:5123/api/sample-controller/v0/sample?filter=smth\.smth. Currently I am using Kong as an reverse ...
Marek Ott's user avatar
1 vote
1 answer
45 views

How comes I get "undefined method `model_name' for {:model=>#<RealQuoteLine ... " when the name is right there?

Can somebody PLEASE explain this to me? I get this error: NoMethodError in Quotations#work undefined method `model_name' for {:model=>#<RealQuoteLine id: 303, quote_concept: "Exportación ...
Fernando Flores's user avatar
1 vote
1 answer
71 views

How to set a URL QueryString Parameter in TMS Web Core?

I'm able to get a param using the GetQueryParam function from this answer in the WebLib.WebTools unit to get parameters from the current URL. One would assume the opposite of getting a param would be ...
Shaun Roselt's user avatar
  • 1,703
0 votes
1 answer
33 views

How to get a URL QueryString Parameter in TMS Web Core?

How can I get a QueryString Parameter Variable from the URL using Delphi code? Let's assume I have a URL as follows: https://www.example.com/index.html?first_name=shaun&last_name=roselt How do I ...
Shaun Roselt's user avatar
  • 1,703
0 votes
2 answers
45 views

How can I convert large array data into a url query param?

I have an array that has lat/lng coordinates in a angular typescript web app. const myArr = [ [lat, lng], [lat, lng], ...x 500 lines ] I want to be able to convert this into a url query param ...
Jonathan002's user avatar
  • 9,709
0 votes
0 answers
47 views

Laravel livewire query string not working in url

I am trying to add a filter functionality by categories in an ecommerce site using laravel livewire query strings but I am not able to understand why it is not working this is the blade file code: <...
Dipesh Paul's user avatar
-1 votes
0 answers
12 views

Parse non -encoded URL query paramters with special characters

I have a system which receives url requests where encoding cannot be assured. I had earlier implemented query param parser using Java String operations. However , now I have to parse urls like https://...
Aishwarya Bhandari's user avatar
0 votes
0 answers
20 views

Post URL Params to a zapier webhook through Javascript and redirect to different URL

So I have a few issues that I am trying to overcome. To start I can't just use a zapier webhook because I need to be able to redirect information. Basically data comes in on querystring (utms, click ...
aallen1695's user avatar
0 votes
0 answers
26 views

Best way to append a query string parameter to one URL in WordPress

Looking for some advise on how best to approach a specific problem. I simply want one page of a wordpress website to have a static query parameter of ?locationid={locationid} in the URL. Much of my ...
IcedQuick's user avatar
0 votes
0 answers
24 views

Filter using query string is not working in sveltekit. How to solve this?

I used sveltekit, and I implemented a filter which has selectbox with input and searchBtn. Here is button event: async function handleSearchEvent( event: CustomEvent<{ role: string; category: ...
Jay0813's user avatar
  • 49
1 vote
0 answers
27 views

Javascript, URL encoded multiple times

For a ReactJs application I'm using this code: let service = new URL(`/${accessRoute}`, this.authOriginService); service.searchParams.set('origin', origin); service.searchParams.set('id', id); const ...
Safari's user avatar
  • 11.5k
0 votes
1 answer
50 views

How to perform query string search on term containing hyphens in elasticsearch

I know this issue has been discussed in several other posts, but my case is a little bit different since I have the following constraints: I cannot change the mapping of the fields I cannot perform ...
Corel's user avatar
  • 583
-1 votes
1 answer
323 views

How to handle `&` symbol in search query [closed]

Given URL http://localhost:3000/?team=Video%20QA%20&%20Test%20Team&teamCode=XXXXX while decoded used URLSearchParams is represented as {"team":"Video QA "," Test Team&...
CityNIGHT's user avatar
0 votes
0 answers
36 views

Multiple parameters with mvc routing

I would like to have this url /Admin/Product?page=1&keyword=somethingToSearch But when i submit the form in the UI, the "&keyword" doesn't appear. And i dont understand why. The URL ...
hyden97's user avatar
  • 115
1 vote
0 answers
35 views

Get values from repeated parameter in query string accessing 'parameters' in sourceMap

I'm facing a newbie to Mirth and I'm struggling against an easy problem I think, but I cannot find the solution. I'm using mirth v3.12.0 and I set an http listener channel that received a GET request ...
Patrick Palmerini's user avatar
0 votes
0 answers
72 views

How to select a specific field from a table based on what a user selects on a form using VBA

I have never done this before rather I search for answers but I have not been able to find what I am looking for. I will try to be brief so forgive me. I have a table that I want to pull data from ...
user9231485's user avatar
0 votes
1 answer
78 views

Symfony - http request not returning params with same key

In my Symfony project, I have requested an URL with query params, one added through array of same key value and one of type string returning me: http://localhost/php-api/v1/examples/query?array=1&...
monaxi's user avatar
  • 67
0 votes
1 answer
41 views

Passing Query Parameters in Ballerina HTTP Client

In Ballerina HTTP client, we can send requests using the following syntax: Album[] albums = check albumClient->/albums; But if we need to send query parameters with this request like this: albums?...
ThisaruG's user avatar
  • 3,232
0 votes
0 answers
23 views

Redirect problem with parameterized URLs in htaccess

I have a few 404 page indexing issues to solve within my wordpress website. No plugin was able to solve my problems. So I've searched all the internet on how to redirect in .htaccess but no solution ...
iMi Blockchain's user avatar
0 votes
1 answer
40 views

Query string writing method when sending a request to the API

In my .net core project I want to throw a request full of parameters to my get method in the API. Since I have too many parameters when making a request, I do not want to do it with the method I ...
nikki's user avatar
  • 23
0 votes
1 answer
28 views

aws step function converting special characters to UTF-8 in URL (not able to pass correct URL with query parameter to API gateway)

I am using api-gateway invoke task in step-function but not able to use query parameters in PATH here is my step function defination { "Type": "Task", "Resource": &...
Ali Hasan's user avatar
  • 512
0 votes
4 answers
78 views

How to generate query string with flattened param name from a nested object

I want to convert my below nested request to Query String var parameter = new RulesCommandServiceAppendRequest() { Chain = Chain.INPUT, Data = new RuleInputModel() { Protocol = &...
sorosh_sabz's user avatar
  • 2,384
1 vote
0 answers
66 views

PrimeNG table save filters state in URL query params. Angular

I need to save the state of the PrimeNG table(p-table) filters in the query parameters of the url. I know that PrimeNG has built-in features for saving state to local storage, but this method does not ...
Илья Никитин's user avatar
0 votes
1 answer
41 views

ActivatedRoute.queryParams fired again after updating queryParams

In my angular component I make an API call, passing some hash string that I read from the current query params. With my API result I do also get a new hash, which I set as the new hash query param. ...
DonFuchs's user avatar
  • 381
0 votes
0 answers
15 views

How do I query a text range in Power BI using the URL to filter?

I have a Winform app that has an embedded PowerBI report. I'm using the winforms controls to determine how the data gets filtered. The values from the controls are appended to the Power BI URL using ?...
On The Net Again's user avatar
0 votes
0 answers
34 views

Add rule to ingress ngnix with query parameters in service

Good morning, I currently have a microservice developed in java that has the following url made up of queryParameters: https://localhost:8080/accountManagement/v4/partyAccount?nationalIdType=CI&...
Cesar Justo's user avatar
0 votes
0 answers
6 views

Query String attached to all my pages on my website rediects to a white screen

I have been having this problem for over 6 months and no one seems to know how to fix this. Even my hosting provider can't figure it out. Whenever I post a link from any of the pages I have on my ...
TIm Ernst's user avatar
0 votes
0 answers
25 views

How can I update the query params from within an iFrame in React?

I am using the library use-query-params in react to set the query params when filters change like: const [query, setQuery] = useQueryParams(queryParamConfigs, { removeDefaultsFromUrl: true, }); ...
Mitchel Sarauer's user avatar
0 votes
0 answers
14 views

Array become object when the array length is greater than 21 when try to convert querystring to object

I want to convert the query string to object in react using qs package here is my code import qs from "qs"; export default function App() { const arr1 = { value: [ "guava&...
Gtm's user avatar
  • 35
1 vote
1 answer
33 views

Block url with specific code after ".html"

Hello I´m receiving strange visits (just one or two per day) asking for urls from my site but followed with stranges code that doesn't exit in the site. For example: example.com/anypost.html&ved=...
Ral AMORES GONZLEZ's user avatar
-1 votes
2 answers
95 views

Extract query parameter value from url with Redshift

Is it possible to extract the value of a query parameter from a url in redshift? For example, lets say my url is https://awesomesite.com/salespage?gclid=a2x-31x_91 Is there some utility or regex that ...
Ulad Kasach's user avatar
  • 11.7k
0 votes
0 answers
16 views

Getting obfuscated uuids in url querystring

I have an api, user from web pages, that is open to the web and have parameters such as userid=b757bb72-0373-4222-a849-3b726db5e6cc. On the server side I noticed I occasionally get some userid=&D ...
tw_ob's user avatar
  • 61
0 votes
2 answers
110 views

Is there a library or technique to support query parameters in getStaticProps in Next.js?

I'm using Next.js for my application and I have a page where I need to fetch data at build time using the getStaticProps function. I want to be able to handle query parameters in this function, but by ...
Muhsin Ummer's user avatar
0 votes
1 answer
28 views

How to pass pathname to

I am trying to pass 2 props in the routing , 1 is for the pathname of routing , 1 is for message to transfer to that page. But I found that the page is blank when I clicked the routing button . And ...
Anson Chan's user avatar
0 votes
1 answer
45 views

React- adding query param with pushState adds trailing slash before params (without react router)

I'm trying to manipulate my query params directly without any library (like react-router- because i don't need them now). The problem is when i try to add query params using this codes: let url = new ...
Amin.Qarabaqi's user avatar
1 vote
0 answers
33 views

setCookie from 'cookies-next' didn't work

i want to setCookie named token from token in url query param, but setCookie here not working import { setCookie } from "cookies-next"; import { ParsedUrlQuery } from "querystring";...
01gurl's user avatar
  • 21
0 votes
0 answers
45 views

How to link two collapsible menus using HTML and JS

Basically, I have two menus on different pages for a website I'm working on. I'm trying to create links between the two that open the corresponding section on the other page. For example, a ...
Sky's Probably Confused's user avatar
1 vote
1 answer
3k views

How to access query parameters in Next.js 13.4 with the new app router?

I'm using the latest version of Next.js (13.4) with the new app router. In my application, I have a Link component with a button inside a ../components/products.tsx file. Each product has a "...
Andrej Capin's user avatar
1 vote
2 answers
131 views

How to pass an URL to a fasthttp-router, in Golang?

The application consists in outputting a bash command to a buffer. The catch: the arguments are urls. Which is working for simple cases, like: "duckduckgo". I.e., http://localhost:8080/free-...
BuddhiLW's user avatar
  • 608
1 vote
1 answer
98 views

how to pass a parameter in flutter get request with getX

I am actually using getX for my get request, the problem is that one of my endpoints require me to pass a query parameter and this will be done by the app user. This is how the thing works, when a ...
Ukeme Elijah's user avatar
0 votes
0 answers
15 views

queries gone when refresh the page when using router.push and "as"

router.push( { pathname: "/pages/service-request/", query: { service: serviceId, city: city,order:orderRes.id,orderservice:res.id }, }, "/...
amir fathi's user avatar
1 vote
0 answers
48 views

Can query parameter start with "&" instead of "?"?

It came to my attention that marketing in our company is using & to start query parameter like this: https://www.example.com/something&m. It is used mainly to track source of users for ...
BoltKey's user avatar
  • 1,994
0 votes
1 answer
40 views

Better way to create query string dynamically [duplicate]

I'm getting a query params object that may look like this: const queryParams = { status: 'Online', name: 'Jeff', age: '35' } I need to create a query params string out of it, Example return value ...
flow24's user avatar
  • 793
0 votes
0 answers
38 views

WCF REST service bind class with a GET

I am trying to move WhatsApp webhook processing from ASP.NET to a WCF service. The POST interface works but in the initial hand shake when setting up the hook WhatsApp calls the method using GET https:...
Scott Norberg's user avatar
1 vote
1 answer
93 views

Not able to Extract query string on the ServerSide in NextJS

I'm using NextJS app directory structure for routing. /app/page.jsx import ListProduct from "@components/products/ListProduct"; import axios from "axios"; const getProducts = async ...
Jadeja Harshvardhansinh's user avatar
0 votes
3 answers
103 views

preload text to form field using URL query string

I would like to generate a URL for this webpage that prefills the two CeDiploma Validation form elements using a query string. I have achieved the desired result for a validation form on a different ...
user143410's user avatar
0 votes
0 answers
58 views

Axios removing the character 's' from get parameters

I am working on react codebase in my workplace. Here all the axios get methods with a params object are removing the character 's' from the query parameters. Here's one of the axios calls ...
Mahim Anjum's user avatar
0 votes
0 answers
34 views

Nginx location try_files not working with $_GET param

I have the following configuration in nginx: location /abc { alias /home/abc/interface/wui/public/; index index.php index.html index.htm; try_files $uri /abc/index.php; include /etc/...
liviu's user avatar
  • 15
0 votes
2 answers
74 views

What should i send GET or POST if field calculating based on query params?

I have resource /api/v1/serviced-objects/ and when i send regular GET request, i get server response and each element in it contains distance field which has null value. { "count": 2, &...
hungry7's user avatar
  • 49

1
2 3 4 5
103