Skip to main content
0 votes
0 answers
55 views

Using [FromQuery] with a .NET controller for an optional boolean query string parameter where presence alone should set it

.NET has [FromQuery] to get query parameters on the path. For instance my/foo?bar=1 maps to: public class MyController : Controller { [HttpGet] public async Task<Whatever> Foo([FromQuery]...
Keith's user avatar
  • 157k
1 vote
1 answer
57 views

Excel Power Query - Dynamically change date in source url from cell value

This is a fairly simple question but I am unable to find any relevant documentation for it. Having created a power query in Excel how can I alter the date in the url string from user input on the ...
user3500717's user avatar
0 votes
1 answer
70 views

Why am I getting Event validation failed when defining query params in a Godspeed HTTP event?

I’m creating a simple HTTP GET event in the Godspeed framework. My goal is to accept a query parameter called name and return a response. However, when I define the event YAML with type: string ...
Manish Kumar's user avatar
0 votes
0 answers
28 views

Rename get parameter via mod_rewrite

I want to rename specific http get parameter since application (NextCloud) changed it from path to dir and I want to preserve compatibility with old links. Original URL was: https://example.com/index....
radeczek's user avatar
  • 111
0 votes
2 answers
93 views

Why does one ASP.NET Core route use a slash (/) for parameters while another uses a query string (?)?

Program.cs app.MapControllerRoute( name: "index", pattern: "{controller=Home}/{action=Index}/{id?}" ); app.MapControllerRoute( name: "read", pattern: &...
Arshia's user avatar
  • 13
0 votes
2 answers
67 views

How to make dynamic path that will be represented as list in aiohttp server?

Let's say that I have an example code: from aiohttp import web async def example(r): a = r.match_info.get('a') b = r.match_info.get('b') c = r.match_info.get('c') return web.Response(...
rzlvmp's user avatar
  • 9,824
1 vote
2 answers
92 views

Query params not available when running with yarn serve:ssr

I created an app called dummyapp using Angular CLI version 19.2.5 with the --ssr option (ng new dummyapp --ssr). In the app.component.ts, I'm trying to retrieve the title from the query string. Here's ...
Sylvain Michaud's user avatar
0 votes
0 answers
67 views

Escape commas in List<String> queryParam in Spring Boot

I have a Spring Boot REST API, generated via OpenAPI that accepts a list of strings as a query parameter. However, when a tag contains a comma (,) (e.g., "Testing, String"), Spring ...
JavaGuru87's user avatar
0 votes
0 answers
69 views

How to disable AWS REST API Gateway query parameter decoding sent to HTTP backend

AWS REST API Gateway decodes query parameters before sending them to HTTP integration backend. But it decodes space written as %20 into +, which is not acceptable for our solution. All chars should be ...
excelsiorious's user avatar
0 votes
0 answers
61 views

Get count of specific key from request query string

I am working on my first server side jQuery datatable code. It does not seem datatable request string contains any info about count of columns, but does have individual column info, such as columns[i][...
NoBullMan's user avatar
  • 2,252
0 votes
1 answer
795 views

How to avoid the login window when accessing a Facebook profile page onload?

It can be anything; like a URL variable that we can put after or in front of the URL to avoid the login window when accessing a Facebook page... So: we have a redirect to https://www.facebook.com/...
iorgu's user avatar
  • 3,260
3 votes
0 answers
349 views

how to validate OpenAPI-specific request query parameters against corresponding open api specs in spring boot

I am using com.networknt:json-schema-validator lib to validate the incoming json request body in my spring boot server against the pre loaded schema and its working fine. Now I also want to validate ...
V John's user avatar
  • 147
-7 votes
1 answer
119 views

Replace the querystring of an href declaration in an <a> tag

I want to replace the following hyperlinks dynamically from <a href="/xsearch2?q=some search/21">21</a> to <a href="/xsearch2?q=some search&page=21">21</a&...
KTH Clips's user avatar
0 votes
1 answer
54 views

How to use javascript variables in URL as querystring parameters [duplicate]

I want to use javascript variables in URL as querystring parameters. what is correct way? var fromSemester = document.getElementById('<%= newFromSemesterValue.ClientID%>').value; var ...
SPBeginer's user avatar
  • 765
1 vote
1 answer
40 views

Encode checkboxes in query string then decode to set elements visible

I feel like I'm trying to reinvent the wheel here in terms of encoding and decoding the query string. I am using jQuery. I am creating a simple picture gallery with checkboxes for categories of what ...
DaveC426913's user avatar
  • 2,038

15 30 50 per page
1
2 3 4 5
345