Questions tagged [dynamic-url]

A dynamic URL is the URL (Uniform Resource Locator) of a Web page with content that depends on variable parameters that are provided to the server that delivers it.

Dynamic URLs are different from static URLs. The content on the Web page of static URLs does not change unless the Web programmer changes the page HTML code. The content of a Web page with a dynamic URL is generated from automated queries to the website's database.

The parameters of a URL can be entered manually by the user in the URL space itself, or they may be automatically obtained through an automatic query.

You can easily identify a dynamic URL through the presence of special characters or character strings. The following is a simple example for such a special characters string: & $ + = ? % cgi

162 questions
1
vote
1 answer

How do I create a dynamic url based on user input using python?

New to python here so this is mostly a syntax & library question. I'm looking for the most efficient way to create a dynamic url within python that is built on user input to later search and parse. Example of the code I have so far: collection =…
codingcat
  • 25
  • 4
1
vote
1 answer

How can I create a dynamic src url in html img tag?

The src url changes dynamically by changing the last part for example, by changing 10d@2x.png to 11d@2x.png a different icon can be obtained. However, I want to dynamically change the url in…
Umesh N
  • 31
  • 6
1
vote
2 answers

TypeError: Cannot read properties of undefined (reading 'params') when fetching Data using async / await syntax

I am trying to access specific data from my django backend based on using the unique id in the url for my react app on the frontend. I expect to see the body of the journal Instead i get this error: TypeError: Cannot read properties of undefined…
1
vote
1 answer

Intent Data - How exactly are traceable urls used to track interest in b2b topics?

I've been doing some research on intent data and I have some technical questions, especially about how two businesses might be collecting "contact level" i.e. personally identified web traffic details without using third-party cookies. Some quick…
1
vote
0 answers

Angular 11 : Dynamically adding URL into Iframe but it is giving error

I'm getting some URLs dynamically and i tried to add that urls into Iframes but it is giving an error saying: unsafe value used in a resource URL context Here is my code of angular component : url = "http://xyz.abc.in/0b82d"; public resumeurl :…
1
vote
1 answer

How do I use a dynamic Font url in a CSS style sheet

I'm building a widget which users can design and then embed on their own website. One thing they can choose is the font, which we self host on AWS. During the initial load, the app hits our API for the widget details, the font URL is returned in …
will
  • 49
  • 11
1
vote
4 answers

file-loader does not work with dynamic url in angular

Does file-loader ignore dynamic url? // app.component.html Flower Flower // app.component.ts export class AppComponent { assets =…
Sameer
  • 4,758
  • 3
  • 20
  • 41
1
vote
1 answer

Creating multiple and dynamic routes for one function in Flask | Python

I'm trying to create a verification program where a user goes to a URL and then they get verified. For each user, I want to create a new url example.com/verificationUser, for user 2 it'd be example.com/verificationUser2. How can I set a "dynamic"…
fiji
  • 228
  • 5
  • 21
1
vote
1 answer

Dynamic URL routing not working in Django

Here is my urls.py of app 'api' of project 'REST Api': from django.conf.urls import url from . import views app_name = 'api' urlpatterns = [ url(r'^view//$' , views.add_task_to_list, name= "add_task"), url(r'^$', views.index,…
Ujjwal Kirti
  • 21
  • 1
  • 5
1
vote
2 answers

Is it secure to have dynamic route with order details visible to anyone with orderId?

I would like to ask if its okay to have dynamic route in my react app like this www.siteurl/orders/:id The user gets redirected to his order with his order id, which then fetch his data from db, the reason behind this is to enable order tracking and…
Lukáš Brýla
  • 680
  • 6
  • 6
1
vote
1 answer

How to pass dynamic parameter (ID) to axios api call?

I have an api with the last part dynamic: src/api/user.js export function getProfileData() { return request({ url: 'http://localhost:8000/profile_update/DYNAMIC USER ID HERE', method: 'get', }) } I am calling this api in this…
the_flucs
  • 217
  • 1
  • 6
  • 21
1
vote
1 answer

How to generate dynamic url with state in componentDidMount?

I want to dynamic the URL with {this.state.whatever} in componentDidMount but failed. Because the state value is undefined(I run the console.log and the error also shows it) I thought componentDidMount runs after the state reset, so I can use the…
Alex Yao
  • 99
  • 1
  • 7
1
vote
2 answers

Change a uri with javascript and not reload the page

I am trying to figure out how to change the URI with javascript and not reload the page. The action would be similar to navigating a folder structure on github where when you click a folder it takes you to a new url that is representative of the…
austinbv
  • 9,297
  • 6
  • 50
  • 82
1
vote
0 answers

How to use multiple query params on multiple components to create a dynamic URL

New to Vue and I have been learning quiete a bit. Recently I got stuck writing a little application at the following point. I want a shareable URL, thus I am trying to add params to the url. I have two components which will be using the…
kadir
  • 13
  • 3
1
vote
1 answer

Do I need a regex to determine if a url is a dynamic url?

I want to create a function to determine if a well-formed url was dynamically generated (according to this article https://www.webopedia.com/TERM/D/dynamic_URL.html) My first attempt was to check if any of these characters appear in the url: ex: def…
user10630086
1 2
3
10 11