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
5
votes
1 answer

React JS - How do I pass variables (parameters) to the API URL?

I have a single page that consist of two dropdown-list components; The page is only accessible upon successful authentication (valid token). Both dropdown-list consumes it's data from different JSON-API's. I have one of the dropdown list functional,…
user1724708
  • 1,409
  • 7
  • 31
  • 53
5
votes
4 answers

How to get URL parameters in JavaScript?

I'm using Vue, but I'm not using vue-router. How can I get URI parameters? I found one way to get URI by using root el property. But is there any proper way to get the parameters as I want to send them to backend and get a response from server…
Chirag Chaudhari
  • 1,617
  • 3
  • 14
  • 20
5
votes
1 answer

How to handle missing parameters in URL with Flask/Python 3

Currently, my website has two drop down boxes on it whose values, upon form submission, translate to two URL parameters "myState" and "myShelter". For example: https://www.atweather.org/forecast?myState=CT&myShelter=181 I'm now adding a third box…
Pat Jones
  • 876
  • 8
  • 18
5
votes
1 answer

What does blogpost's rss feed pagination url look like?

I am aware the to get to a blogspot blog's rss feed you go to blog.blogspot.com/feeds/posts/default But how do you get the second page of the feed? I am aware that other blogs use the query parameter ?paged=2. Is there a similar query parameter…
Patrick
  • 1,410
  • 2
  • 19
  • 37
5
votes
1 answer

iTunes parameter 'ign-mpt=uo%3D4'

Anyone know what the 'ign-mpt=uo%3D4' parameter in iTunes URL signifies? Example. https://itunes.apple.com/us/app/empire-four-kingdoms/id585661281?mt=8&ls=1&ign-mpt=uo%3D4
5
votes
3 answers

Ruby's Faraday - include the same param multiple times

I'm working against an API that forces me to send the same parameter's name multiple times to cascade different filtering criteria. So a sample api GET call looks like this: GET http://api.site.com/search?a=b1&a=b2&a=b3&a=c2 I'm using Faraday for…
sa125
  • 28,121
  • 38
  • 111
  • 153
5
votes
1 answer

Parameter passing vs local storage

I have a lobby written in HTML5 / javascript. A .json file provides a few config parameters for the lobby and for the various other HTML5 games that can be launched from it. These parameters can either be passed to the games in the window.open…
Simple Simon
  • 712
  • 2
  • 8
  • 23
5
votes
2 answers

Magento router: How can I catch parameters in all URLs?

Think of a small and basic affiliate system. I want an URL like www.myshop.com/mynewproduct.html?afid=123 Every time afid is found in the URL, a method should be called (basically to save "afid" in the session and when the customer buys stuff, I…
Max
  • 249
  • 2
  • 10
4
votes
1 answer

How to keep the Url parameters in Flutter web route path

I am building a flutter web app which requires a url parameter in the start. Currently it needs a parameter like http://localhost:49844/?id=105897 But after the app catches the url it disappears (like http://localhost:49844/#/) from the web address…
4
votes
2 answers

API Gateway Lambda endpoint proxy vs non-proxy integration

I have built 100s of APIs and Lambdas and never had to go through such a discussion. I always used proxy integration and parsed the parameters in my code using this x = event['queryStringParameters'] ID = x.get("param1") name =…
4
votes
1 answer

Is there a way to work with parameters in URL path segments in ASP Net/ASP Net Core

Recently I have read an article about URL and its parts and what is defined in the standard. There is an interesting part about parameters. Usually, you pass parameters in one of the following ways: In the URL path as a segment; In the URL query…
SENya
  • 1,083
  • 11
  • 26
4
votes
1 answer

Set value of radio button input using URL Parameter only (WITHOUT JQuery or JavaScript)

I have an HTML form on a web page. I want to send users an email with a URL that they can click to fill out the form. I want to pre-populate the value of a radio button group using URL parameters only. The platform I am using does not allow me to do…
ChaosFreak
  • 574
  • 1
  • 6
  • 18
4
votes
2 answers

How can I use a single url parameter for multiple queries in google data studio?

I'm using Google Data Studio to visualize results from various queries (from different tables within the same BigQuery-database). For this reason, I created and use multiple data-sources-connectors. Each one of them has a SQL query included and…
workah0lic
  • 91
  • 8
4
votes
2 answers

Branch.io - Appending Query Parameters

Trying to append some query parameters to links created via Branch.io, but I can't figure out how to do this in the dashboard. I see from https://docs.branch.io/pages/links/integrate/ that the following is possible. Short links can have additional…
mohitb
  • 151
  • 2
  • 11
4
votes
3 answers

Get page URL parameters from a service worker

How do I get page URL with parameters from a service worker? I have tried self.registration.scope but that doesn't include the parameters.
Ethan
  • 3,410
  • 1
  • 28
  • 49