Search forms are commonly used to send data in an HTTP GET request. In particular,  data will be sent with the HTTP GET request as a query string in the URI of the request line.

Given the following form element on Java.com:

2017-01-27_00-44-41

<form method=”get” action=”/search”> <input type=”text” name=”q”> <button type=”submit”>Search</button> </form>

Once we press the submit button  open Chrome developer tools and select the network tab. If we examine the General Section we can see the Request Url after pressing the submit button.

Request URL:
https://search.oracle.com/search/search?group=Java.com&search_p_main_operator=any&search_p_atname=url&search_p_op=contains&search_p_val=en&q=java&submit.x=0&submit.y=0

2017-01-27_00-46-13

When we scroll down we can see the Query String Parameters. Click “view parsed” to see a beautified version.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

©2020 RussellCoder

Log in with your credentials

or    

Forgot your details?

Create Account