p-path outputs a URL application path (see request), i.e. the leading path segment(s) prior to request name.
If no "--path" option in gg is used to specify URL application path, then it is the same as application name prepended with a forward slash:
/<app name>
Copied!
p-path provides the leading part of a URL path after which request name and its parameters can be specified. It is used in HTML forms and URLs (either for HTML or API) to refer back to the same application.
Use p-path to create the absolute URL path to refer back to your service so you can issue requests to it.
For example, this is a link that specifies request to service "show-notes":