当前位置:网站首页>Interface test: what are the components of the URL in fiddler
Interface test: what are the components of the URL in fiddler
2022-07-06 05:59:00 【Test Xiaozha】
The interface test :Fiddler in URL Which parts are made up of
01 URL And URI The relationship between
URL:(Uniform/Universal Resource Locator Abbreviation , Uniform resource locator ).
URI:(Uniform Resource Identifier Abbreviation , Uniform resource identifiers ).
Relationship :URI Belong to the father class , and URL Belong to URI Subclasses of .URL yes URI A subset of .
The difference between them is ,URI Indicates the path to the request server , Define such a resource . and URL Also explain how to access this resource (http://).
02 URL The basic format of
generally , What we are familiar with URL The common definition format of is :
scheme://host[:port#]/path/…/[?query-string][#anchor]
scheme // We are familiar with http、https、ftp And the famous ed2k, Thunderbolt thunder etc. .
host //HTTP Server's IP Address or domain name
port# //HTTP The default port for the server is 80, In this case, the port number can be omitted . If other ports are used , Must specify , for example tomcat The default port is 8080 http://localhost:8080/
path // Path to access resources
query-string // Send to http Server data
anchor // Anchor positioning
03 Let me give you an example URL The various components of
URL That is, the address we use to visit web pages everyday , Every web page on the Internet has a web address , Here's a complete URL Example :
http://www.aspxfans.com:8080/news/index.asp?boardID=5&ID=24618&page=1#r_70732423
This address is very long , Than what we see everyday baidu.com A lot longer , So what does it mean ?
A complete URL Include : The partial 、 Domain name part 、 Port part 、 Virtual directory section 、 File name part 、 Parameters of the part 、 Anchor part
1. The partial : The URL Part of the agreement is “http:”, This means that the Web uses HTTP agreement . stay Internet A variety of protocols can be used in , Such as HTTP,FTP Wait a minute. In this case, we use HTTP agreement . stay ”HTTP” hinder “//” Separator
2. Domain name part : The URL The domain name section is “www.aspxfans.com”. One URL in , You can also use IP Address as domain name
3. Port part : Following the domain name is the port , Use between domain name and port “:” As a separator . Port is not a URL Necessary part , If the port part is omitted , The default port will be used
4. Virtual directory section : From the first after the domain name “/” Let's go to the last one “/” until , Is the virtual directory section . The virtual directory is not one URL Necessary part . The virtual directory in this example is “/news/”
5. File name part : From the last one after the domain name “/” Start to “?” until , Is the file name part , without “?”, From the last one after the domain name “/” Start to “#” until , It's the file part , without “?” and “#”, So from the last one after the domain name “/” Start to finish , It's all part of the file name . The file name in this example is “index.asp”. The file name part is not one URL Necessary part , If omitted , The default file name is used
6. Parameters of the part : from “?” Start to “#” The part in between is the parameter part , Also known as the search part 、 Inquiry section . The parameter part in this example is “boardID=5&ID=24618&page=1”. Parameters can be allowed to have more than one parameter , Between parameters “&” As a separator .
7. Anchor part :HTTP The request does not include the anchor part , from “#” Start to finish , It's all anchor parts . The anchor in this example is “r_70732423“. The anchor part is not one URL Necessary part .
Anchor action : Scroll to the anchor position when opening the user page . Such as : One html There is a piece of code in the page , The url Of hash by r_70732423
Foundation consolidation
Practical course of software testing 《 Learn to drive 》APP Actual software testing
First public - dark horse headline software test actual project Full version
Software testing tutorial Charles Test practice of packet capture tool
Software test engineer must MySQL database ,mysql Elaborate on the system + Practice after class
Advanced course of software testing wechat applet testing practice — The whole net starts
边栏推荐
- Accélération de la lecture vidéo de l'entreprise
- ContentType的作用
- [Jiudu OJ 07] folding basket
- 查詢生產訂單中某個(些)工作中心對應的標准文本碼
- C language learning notes (mind map)
- 华为BFD的配置规范
- Huawei BFD configuration specification
- Luogu p1460 [usaco2.1] healthy Holstein cows
- Hongliao Technology: Liu qiangdong's "heavy hand"
- Practice sharing: how to safely and quickly migrate from CentOS to openeuler
猜你喜欢

Station B, Master Liu Er - back propagation
![[Thesis code] SML part code reading](/img/3c/0deccf499d9b1cbe30a302cb115d73.png)
[Thesis code] SML part code reading

嵌入式面试题(四、常见算法)
![[Jiudu OJ 07] folding basket](/img/a7/e394f32cf7f02468988addad67674b.jpg)
[Jiudu OJ 07] folding basket

What impact will frequent job hopping have on your career?

LAN communication process in the same network segment
![[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning](/img/9c/2753f68ecec3555aaca23800dada1e.png)
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning

YYGH-11-定时统计
![[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS](/img/ed/8d112054f31bd7e593050d1278b9f1.jpg)
[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS

ArcGIS application foundation 4 thematic map making
随机推荐
Station B, Mr. Liu Er - multiple logistic regression, structure 7
Sqlmap tutorial (III) practical skills II
Zoom through the mouse wheel
查询生产订单中某个(些)工作中心对应的标准文本码
[untitled]
Company video accelerated playback
Station B Liu Erden linear regression pytoch
Station B, Master Liu Er - dataset and data loading
【LeetCode】Day96-第一个唯一字符&赎金信&字母异位词
IDEA 新UI使用
The digital economy has broken through the waves. Is Ltd a Web3.0 website with independent rights and interests?
[web security] nodejs prototype chain pollution analysis
华为路由器忘记密码怎么恢复
Station B Liu Erden softmx classifier and MNIST implementation -structure 9
关于 PHP 启动 MongoDb 找不到指定模块问题
Analysis report on development trends and investment planning of China's methanol industry from 2022 to 2028
【无标题】
[Thesis code] SML part code reading
Migrate Infones to stm32
Is it difficult for an information system project manager?