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

how to get a URL parameters in react router V6?

I have a URL like this : "http:something/forget/reset?type=text&c=$something&cc=$something" I want to get the parameters form this path and I used: const params = useParams() but it returns an empty object {} my current route is like below: …
ali safaeyan
  • 65
  • 1
  • 11
3
votes
2 answers

passing url parameters to flutter web

I'm working on a flutter project that covers multiple platforms. My app has a payment api, which also has a callback url that sends some url parameters to my result screen. The url for my payment result screen is https://myapp.com/payment-result.…
Behnam
  • 329
  • 5
  • 15
3
votes
1 answer

I don't want to rerender the page when changing the dynamic params on Nuxt

I have a simple page with two dynamic params when I'm on the page and changing the URL params fetch method will run again. I don't want this behavior. fetch method: async fetch() { await this.getFlightResult(); } getResult Method: async…
3
votes
1 answer

Infinite loop issue with NextJS, @react-keycloak/ssr', and url params?

I am encountering a browser infinite looping issue in my NextJS project when I add the SSRKeycloakProvider component from @react-keycloak/ssr npm package. This infinite loop only happens with a specific application the Reports page. My…
codigomonstruo
  • 1,081
  • 1
  • 11
  • 45
3
votes
2 answers

Javascript: recursively encode and decode querystring. (object to querystring, querystring to object)

I want to encode a complex json/javascript object into the standard querystring encoding. And i want to decode this querystring back to an json/javascript object. It should be recursively, with arrays, objects, strings, booleans and numbers. I…
3
votes
1 answer

React Router Dom - Clear url parameters without refreshing the page

I do have some parameters passed by a link to an url, like : https://mysite/post/list?success Considering I'm with React JS and using React router dom, how should I do to clean the parameters without refreshing the page, in order to be back button…
Horkos
  • 227
  • 2
  • 5
  • 12
3
votes
3 answers

Delete empty params from query string JS

I have this query…
Junaid Farooq
  • 2,484
  • 5
  • 26
  • 63
3
votes
1 answer

How do I make an axios request using a route parameter from React Router, then update state based on the response?

I have the following route in my App component: When this route is visited, I want the VideoPage component to use the :id parameter to make an axios request to an API, and then I want to update…
3
votes
1 answer

URL parameters gets transformed to seemingly gibberish characters

I've searched very hard to find any information about my issue but so far no luck, hence this thread. My problem is that URL parameters that get submitted by users get changed to seemingly gibberish strings. Correct…
3
votes
1 answer

Preventing Telegram Link Previews using a URL redirect site

Currently I have a telegram bot that outputs a URL, but everytime the bot sends a URL telegram creates a link preview. One solution I came up with was pass this URL through a URL redirect service or website to break the link preview. Is there a url…
Patoshi パトシ
  • 21,707
  • 5
  • 29
  • 47
3
votes
0 answers

Pass filepath as parameter to a URL in FLASK(Python)

I want to build an api which accepts a parameter from the user which is a filepath and then process the file given in that path. The file to be processed is already in the server where the api will be running. As of now, I have written an api where…
3
votes
2 answers

Parse URL parameters using T-SQL

I have some Url for digital marketing. These URLs have parameters, so I want to parse the URL and insert a table. For follow campaigns and analyze. For…
Dekareş
  • 33
  • 1
  • 5
3
votes
0 answers

Facebook's fbclid parameter is blocking my adsense ads on my website. How can I eliminate this?

When I share an article from my website to Facebook, Facebook adds a fbclid parameter code which affects the Adsense ads from appearing when someone clicks on the link. When they are redirected to the article, no ads appear. It's like Facebook's…
3
votes
3 answers

how to clone url parameter value inside img src attribute?

I am trying to get parameter value from the url, add it inside a div and then clone that value inside the img src attribute. I can get the parameter value inside a div, and get it to clone as well but it's doing it like this:
pv619
  • 409
  • 11
  • 29
3
votes
1 answer

Angular 5/6 project query parameter encryption

I'm trying to encrypt query parameters in an Angular 5/6 project. We have some sensitive data in the URL which we might need to encrypt or hash so an outside user won't know. Is there a way to do that or worth doing? For example, would that be…
Drex
  • 3,346
  • 9
  • 33
  • 58