Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to call part of a url

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?

like image 694
PositiveGuy Avatar asked Dec 03 '22 04:12

PositiveGuy


2 Answers

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.

like image 71
BoltClock Avatar answered Dec 18 '22 10:12

BoltClock


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

like image 22
David Avatar answered Dec 18 '22 08:12

David