开发者

What to call part of a url

开发者 https://www.devze.com 2023-01-12 22:53 出处:网络
So I\'ve got a base Uri of: https://graph.facebook.com/ Ok, you can append various sub paths such as this to their API:

So I've got a base Uri of:

https://graph.facebook.com/

Ok, you can append various sub paths such as this to their API:

/me/friends
/322323232
etc.

So you'd end up with something like this for their API calls:

https://graph.facebook.com/me/friends?access_token=2343sdfse43.....

What would you call the /me/friends portion of开发者_运维问答 this url? I mean it's not a "Uri". The Uri is the first part.

There's got to be some kind of official name to call sub directories under the Uri right? or no?


The URI (Uniform Resource Identifier) is the entire string. Also note that URL (Uniform Resource Locator) and URI are not the same; URL is a subset of URI. See Wikipedia's article for information.

In your example, /me/friends is known as the path.


I would call it the "path" or "route."

0

精彩评论

暂无评论...
验证码 换一张
取 消