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.
query-string
5,144
questions
1
vote
1
answer
28
views
Jest error: Jest encountered an unexpected token - query-string import
I'm getting the following:
babel.config.json:
{
"presets": [
["@babel/preset-env", { "targets": { "esmodules": true } }],
["@babel/preset-react&...
0
votes
0
answers
18
views
URL Length Limit and Query Parameter Constraints in Front-End to Back-End Requests
While developing a mechanism for front-end requests to the back-end, I've encountered an issue regarding the URL length when carrying multiple query parameters. Is there a length limit for URLs? If so,...
-1
votes
0
answers
41
views
How to filter by price range using query-string, prisma and next js
I am trying to filter products that fall within the price range of my selected query. The filter works well when I use it on other fields but starts acting funny when i include the price filter in the ...
0
votes
1
answer
57
views
GScript: DriveApp.searchFiles - Parameter for filetype
How do I have to extend the search parameter if I also have to search for GSheet files only?
function myDeleteSharingPublicLinks() {
var MyAccount = Session.getActiveUser().getEmail();
var ...
-1
votes
1
answer
37
views
Query parameter causing error on semrush SEO
My requirement was to pre-fill one specific field of webform using query parameter and I have done it but due query parameter semrush (SEO) is claiming hundreds of pages as duplicate for example some ...
0
votes
1
answer
51
views
Using procmail to pipe to a php script, can I add a variable to be checked [closed]
I have a procmail script set up which pipes to a PHP script when an email subject line matches:
:0
* ^[email protected]|^Subject.*(REMOVE|Undelivered Mail)
| /usr/bin/php -f /var/www/somefolder/...
0
votes
1
answer
36
views
How can I get BizTalk to allow a large array in querystring for consuming a REST service?
My problem is that I want to consume a REST service that have an array as input parameter, and I have a lot of items in the array (about 2 500 characters in total, which is allowed by HTTP protocol).
...
0
votes
0
answers
34
views
Getting Query Parameter before props in VueJS
I just want one help. Here I have AccountAdmin.vue file is there. In that file, I am requesting parameter from router.push. I got parameter in URL, but problem is that in props, parameter not set ...
0
votes
0
answers
29
views
HTTP client POST parameters
I need to POST to an endpoint in the following format
url?param1=val1¶m2=val2
I tried using
Dictionary<string, string> jsonValues = new Dictionary<string, string>();
jsonValues.Add(...
3
votes
1
answer
46
views
How to Filter by Status in Django Rest Framework with Square Brackets in Query Params
I'm encountering an issue with filtering a model by status in Django Rest Framework. Here's my current setup:
When I filter using status=1,14, it works perfectly:
class DepartmentFilter(filters....
1
vote
1
answer
33
views
@auth0/nextjs-auth0 - How to get Nextjs api request query parameters within nextjs-auth0 handleAuth function, using App router
Within a Nextjs app, I am using the handleAuth function in @auth0/nextjs-auth0, using the App router, and want to pass a dynamic email address to the handleLogin function. I can pass a predefined ...
-2
votes
2
answers
60
views
Get Value From Query String (C#)
I have a query string that I want to get a value from. I want to extract a piece of text from the string and display it but I can't quite figure it out.
This is the query string:
utm_source=google&...
0
votes
3
answers
79
views
How to use the text that search with FTS by parameter in ASP.NET C#
I coded a site with ASP.NET, C# and a SQL Server database. I want to search in database with full-text search by passing a query from C# to SQL Server. In summery, the problem occurs when I use ...
0
votes
0
answers
48
views
Sending complex nested query params with node.js
I am designing a report filter, and attempting to establish the best way to allow the user to filter the results returned to them, via a form on the front end in angular. The user should be able to ...
0
votes
0
answers
32
views
Reload page with no querystring if original querystring yielded no results from a database query
I've the following code for filename usa.php
$query = "SELECT * FROM usa WHERE deleted='0' AND filename<>''";
$stmt = $conn->prepare($query);
$stmt->execute(array());
$...