Questions tagged [url-parameters]

URL Parameters are parameters whose values are set dynamically in a page’s URL, and can be accessed by its template and its data sources. This makes pages incredibly dynamic, enabling a single page to power an endless number of views.

The URL points to a web page. The URL may contain a static path, such as:

http://www.myStore/womens/Clothing.jsp

As is the case with any URL, you can append dynamic parameters that are used by the page located by the URL to the URL itself. At runtime, those dynamic parameters are replaced by property values, then passed to the page. For example:

http://www.myStore/womens/Clothing.jsp?type=$itemType&name=$displayName

The type parameter is replaced with the item’s item type and the name parameter is replaced by the item’s display name.

1203 questions
2
votes
1 answer

How do I pass parameters via a domain forward to an Apps Script web app?

I am making a small Web App which sends me reminders based on a URL parameter that it is passed. Currently, I have a personal domain - for argument's sake we'll call it http://somedomain.com. I have a subdomain set up in my DNS settings on my domain…
2
votes
1 answer

How to disallow URLs by query string in array format

I want to disallow all URLs with a certain query parameter in array format. For example I have this kind of URL: https://example.com/site/?param[index]=1¶m[index2]=5 and I do not want all crawlers to crawl site with param parameter in all…
Tom
  • 61
  • 6
2
votes
3 answers

Angular route: URL like /my/:parameter/path

I am trying to setup a URL like 'user/:id/edit', but when I use [routerLink]="['user/:id/edit', 1]" it generates /user/:id/edit/1. If I use [routerLink]="['user/:id/edit', {id: 1}]" it generates /user/:id/edit;id=1 Is there a way of getting the…
RafaelTSCS
  • 1,234
  • 2
  • 15
  • 36
2
votes
0 answers

How to pass parameters from spring boot application to keycloak?

I need to pass two params from spring boot application to keycloak and I have to evaluate the policy using that parameters.How do I do that? Should I pass claims? If yes,How should I do? How will i get those parameters in policy?
Siva Thangaraj
  • 214
  • 2
  • 16
2
votes
1 answer

How should I transfer variables/ parameters securely between multiple domains in PHP?

I would like to securely transfer sensitive variables between multiple in PHP. Normally I would use url parameters or session cookies to transfer non-sensitive values. I'm not sure how secure I can make cookies and url params or if there is a better…
jnthnclrk
  • 469
  • 6
  • 29
2
votes
1 answer

Accessing Nested POST Parameters in Java

How do I access nested POST data in the Java Servlet API? In PHP (which I can't use for this project), I was able to access fields with $ds = $_POST['details']['double_sided']; I have the following inputs in my form:
Goldentoa11
  • 1,700
  • 2
  • 17
  • 29
2
votes
1 answer

Java - new URL(...) doesn't escape the first character

I am trying to create a link that opens the New issue page on Github filling it with existing knowledge of the problem. In order to do so, i am using the query parameters like followed: https://github.com/User/Repository/issues/new?title=Some…
Marcel
  • 1,509
  • 1
  • 17
  • 39
2
votes
1 answer

How to use multiple url parameters to show/hide multiple divs

Hoping to find a way to have multiple URL parameters display specific divs for certain products, while hiding all the other product divs. For…
2
votes
2 answers

Google Search Parameters to Speak Out Results (tts)

I am trying to automate my tasks on my Ubuntu. What is the Google search parameter to speak out the results. For example, When i search Donald Trumph from my voice (through microphone on Chrome) then google speaks out "Donald Trump is 45th…
Pankaj Kumar
  • 131
  • 12
2
votes
1 answer

Angular 4 Sanitizing/escaping query parameters

How do i securely use any query parameters that i receive? I have read about DOM sanitizing in Angular 4, but i can't find anything about securely using query parameters in angular 4. Example: https://www.myangularproject.com/?parameter1=value I…
2
votes
1 answer

How can I get an access to url paramaters in django rest framework permission class?

I have a view: class DealsView(APIView): permission_classes = (IsAuthenticated, IsOwnerOrCuratorOrDirectorOrNotAllowed, ) def get(self, request, user_pk): ... But in order to check the permissions correctly I need to pass user_pk…
2
votes
2 answers

Angular 4 Populate Query Parameters Dynamically

Goal is to produce the url like below: /powerPlants?onlyActive=true&page=1 I have the following function in my Typescript! allPowerPlants(config: PowerPlantListConfig): Observable { // Convert any filters over to Angular's…
joesan
  • 13,963
  • 27
  • 95
  • 232
2
votes
1 answer

rails form with persistent parameters

The following form is being used to generate results. <%= form_tag risultati_fatturati_interventos_path do %>
Dal: <%= date_select :intervento, :dal, { order: [:day,…
Jerome
  • 5,583
  • 3
  • 33
  • 76
2
votes
1 answer

URL query parameter as a dictionary in Pyramid

The JSON API specification uses a dictionary like syntax for some query parameters: GET /articles?include=author&fields[articles]=title,body,author&fields[people]=name HTTP/1.1 Is there any easy way to retrieve the above fields parameter as a…
Spack
  • 464
  • 4
  • 22
2
votes
1 answer

WooCommerce Composite Products: How to use URL parameters to change the default product option for a component?

I'm using the WooCommerce Composite Products plugin in my WordPress/WooCommerce website and would like to be able to control what the default chosen product option is for just the first component via URL parameters. For example, say I create a…