- Go Web Scraping Quick Start Guide
- Vincent Smith
- 201字
- 2021-07-02 13:58:17
Query parameters
For some HTTP requests, extra information needs to be provided by the client in order to refine the request. This is usually done in two different ways. For HTTP GET requests, there is a defined way to include extra information in a request using the URL. Placing a ? at the end of a URL defines the end of the URL resource, and the next section defines query parameters. These parameters are key-value pairs defining the extra information sent to the server. The key value pairs are written as follows:
key1=value1&key2=value2&key3 ...
You will see this quite commonly when you are performing searches. As a hypothetical example, if you were on a site searching for shoes, you might encounter a paginated results page and the URL might look something like this:
https://buystuff.com/product_search?keyword=shoes&page=1
Notice that the resource is product_search, which is followed by the query parameters for the keyword and the page. This way, you can collect the products from all pages by adjusting the query.
- 通信網絡基礎與設備
- Modern JavaScript Web Development Cookbook
- 數字烏托邦
- Learning Karaf Cellar
- 物聯網信息安全
- 通信簡史:從信鴿到6G+
- Practical Web Design
- 中國互聯網發展報告2018
- 智慧光網絡:關鍵技術、應用實踐和未來演進
- WordPress Web Application Development
- 6G新技術 新網絡 新通信
- Selenium WebDriver 3 Practical Guide
- 智慧城市中的物聯網技術
- ReasonML Quick Start Guide
- Building Microservices with Spring