How to achieve URL stitching when form forms are submitted?

<form action="https://www.baidu.com">
    <input name="keyword" value="item">
    <input type="submit" value="">
</form>

this is a form form, and no url splicing is found. When entering the content in the input box and submitting the form, it will automatically splice the url to perform the jump.
for example, the content in the input box is: abc, submitted the complete url: https://www.xxxx.com?keyword=abc
how is this achieved?

May.22,2021

form.form (action= "- sharp {searchBaseURL}" method= "GET")


< form action= " https://www.baidu.com"; method= "get" > < / form >

add method= "get"


when the get, form is submitted by default, the value of all form controls with the name attribute will be extracted as name=value and joined to the action attribute as the query parameter

.
Menu