200 questions
1
vote
1
answer
57
views
ASP.NET Core 6 Web API : use queryString on complex json can not bind successfully
When I use the GET API to send a complex JSON format, the backend cannot obtain the data correctly.
This my query string data:
{
"page": 1,
"page_size": 10,
"...
0
votes
0
answers
116
views
Why doesn't [FromQuery] work when unit testing a Razor page?
I have this property in a PageModel:
[FromQuery(Name = "paypalPlanId")] public string? paypalPlanId { get; set; }
It works when calling the page within the application - the property is set ...
0
votes
0
answers
232
views
Request.QueryString with AJAX request
I'm trying to join all inputs at an AJAX call to a single string var.
In the backend we have a public JsonResult() which is being called from the frontend with their arguments.
With Request....
0
votes
1
answer
2k
views
request.query does not print the query in Fastify (querystring)
I searched for ages, but it just wouldn't print the query, I've no idea what I should do. I'm also kind of new to Fastify. Also I'm sending the request to 127.0.0.1/?greeting=something.
const opts = {
...
2
votes
1
answer
2k
views
Multiple values of a querystring parameter that contain commas C#
I have an issue in ASP.Net when trying to interrogate the query string for values when the parameter name is the same, and the values of that parameter contains commas.
For Instance, suppose I have a ...
1
vote
2
answers
4k
views
Laravel - use Request in a function that call another function
I need to retrieve also query string params after registration, so I'm using Request $request in both functions, but how I can pass Request also in second function?
thanks in advance!
protected ...
1
vote
1
answer
143
views
how to decode string on php. iconv decode is not work [duplicate]
request
http://a.com/?q=\xC3\xA2\xB0\xED
source
$str1 = "\xC3\xA2\xB0\xED";
$str2 = '\xC3\xA2\xB0\xED';
$str3 = $_GET['q'];
echo "string1 : " . mb_detect_encoding($str1) . "&...
1
vote
1
answer
885
views
Web scraping dynamic website with scrapy and query string parameters
We aim at obtaining data from "vivino (dot) com".
Specifically, for each wine, we need both user ratings and reviews.
Unfortunately, we are coping with issues with query string parameters ...
0
votes
0
answers
96
views
Why does IIS care if "convert" is misspelled in a query string?
I am trying to understand the behavior of a classic ASP page, to gain insight into injection vectors by looking at the IIS log and the behavior on a browser.
From the browser, I noticed that sometimes ...
1
vote
1
answer
2k
views
htaccess send 404 if query string contains keyword
I'm seeing a lot of traffic which I suspect is probing for a flaw or exploit with the request format of
https://example.com/?testword
I figured while I look into this more I could save resources and ...
-1
votes
1
answer
231
views
How to prevent unwanted request in node js express?
expected request:
{
"name": "Raju",
"email": "[email protected]"
}
Actual:
{
"name": "Raju",
"email": "email@...
0
votes
1
answer
341
views
C# REST API query parser
I'm learning, how to code rest api in C# and I have some problems with query string parameters parsing.
API works this way:
1: I have 1 endpoint api/project which can have some parameters in query ...
1
vote
1
answer
51
views
Remove querystring value inside repeater
I have the below code (parts removed for ease of reading)
<asp:Repeater ID="rptMenu" runat="server" OnItemDataBound="rptMenu_ItemDataBound">
<ItemTemplate>
...
0
votes
0
answers
201
views
Unable to retrieve query string parameter value by using Laravel 5.6
I am unable to retrieve the query string parameter value from the URL. My project is running in sub-directory.
Please find the following details about my code
**Request & result **
http://...
0
votes
0
answers
509
views
How can I shorten the query string?
I have an MVC Core application, and one of the forms on submit passes a too long query string:
HTTP Error 404.15 - Not Found The request filtering module is
configured to deny a request where the ...