e01.org

URI Template

A URI Template is a way to specify a URI that includes parameters that must be substituted before the URI is resolved. It was standardized by RFC 6570 in March 2012. The syntax is usually to enclose the parameter in Braces ({example ). The convention is for a parameter to not be Percent encoded unless it follows a Question Mark (?). Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

A URI Template is a way to specify a URI that includes parameters that must be substituted before the URI is resolved. It was standardized by RFC 6570 in March 2012. The syntax is usually to enclose the parameter in Braces ({example}). The convention is for a parameter to not be Percent encoded unless it follows a Question Mark (?). ==Examples== http://example.com/people/{firstName}-{lastName}/SSN http://example.com/query{?firstName,lastName} If we were building these URIs for Björk with firstName=Björk and lastName=Guðmundsdóttir they would be: http://example.com/people/Björk-Guðmundsdóttir/SSN http://example.com/query?firstName=Bj%c3%b6rk&lastName=Gu%c3%b0mundsd%c3%b3ttir ==See also== European Legislation Identifier (URI template is used by ELI) ==External links== RFC6570 - URI Template at the IETF List of RFC6570 Implementations

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"URI Template". 1641488452. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1064123306

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·