What is it?
URL stands for Uniform Resource Locator.
A URL tells software where a web resource is located.
Simple Definition:
A URL is the address of a web resource.
Software Knowledge → 03 · HTTP & APIs → URL
The address used to locate a resource on the web.
URL stands for Uniform Resource Locator.
A URL tells software where a web resource is located.
Simple Definition:
A URL is the address of a web resource.
Think of a URL as a street address.
The address tells you where to go.
A URL tells the browser or software where to find a resource.
A URL can identify:
Use:
https://example.com/api/orders/1001?status=completedBreak it into simple parts:
httpsProtocolexample.comDomain/api/orders/1001Path?status=completedQuery StringDifferent parts of the URL tell the system how and where to access the resource.
HTTP requests are sent to URLs.
API endpoints are usually represented by URLs or URL paths.
The complete address of a resource.
Example: https://example.com/api/orders
The main human-readable name of a website or service.
Example: example.com
| English Term | 中文 | Simple English | 中文小白理解 |
|---|---|---|---|
| URL | 网址 / 资源地址 | The address used to locate a web resource. | 用来找到网页、接口或其他网络资源的地址。 |
| Protocol | 协议 | The communication scheme at the beginning of a URL. | URL 开头表示使用哪种通信方式的部分。 |
| Domain | 域名 | The human-readable name of a website or service. | 用户容易阅读的网站或服务名称。 |
| Path | 路径 | The part of a URL that identifies a specific resource. | URL 中用来定位某个具体资源的路径部分。 |
| Query String | 查询字符串 | Extra parameters added after ? in a URL. | URL 中 ? 后面携带的一组查询参数。 |
| Query Parameter | 查询参数 | A key-value value passed in the URL. | 通过 URL 传递的一组参数值。 |
| Resource | 资源 | Something that can be accessed through a URL. | 可以通过 URL 访问的网页、数据、文件或接口资源。 |
| Endpoint | 接口地址 | A URL used to access a specific API function. | 用来访问某个具体 API 功能的地址。 |
| HTTPS | HTTPS | The secure protocol commonly used at the start of web URLs. | Web URL 开头常见的安全通信协议。 |
A URL identifies where a web resource is located.
URLs can point to pages, files, or API endpoints.
A URL contains several parts such as protocol, domain, path, and parameters.
Final:
Protocol + Domain + Path + Parameters = URL