Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passing parameters to a website

Tags:

parameters

Well, I'm a complete stranger to this topic; I don't even know the general name of this kind of operation, but I'm going to try to explain it. (it's probably something pretty basic)

I'm trying to write a auto-form-fill application. In order to have an interface planning to use GUI on VisualStudio.

It is simply some text boxes that are similar to web site's registration form and a register button to initialize the action.

The information that the user enters in those text boxes will be sent to similar text boxes on a predetermined website's registration page. Then when I click the register button on my application, it will also click the register button on the webpage.

This is simply what I'm trying to do. How can I start? Which topics should I read up on?

Thanks in advance.

like image 797
user1449456 Avatar asked Aug 31 '25 01:08

user1449456


1 Answers

A primary way to pass a parameter to a website is known as "Query String Parameter".

The notion is that a variable can be sent into a webpage through a url.

The format is appended after your webpage:

http...yoursite.com/yourpage.html?x='value'

So the QueryString is a variable x with the value of 'value'.

?x='value'

At this point a variable of x can be available to JavaScript.

Here is a link to describe setup and usage. There are other on google that may be more specific to your environment.

Hope it helps. All the best! Nash

like image 194
Nash Worth Avatar answered Sep 07 '25 02:09

Nash Worth