URL Template
A URL Template is a way to specify a URL that includes parameters that must be substituted before the URL 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}-{lastNamed}/SSN
- http://example.com/query?firstName={firstName}&lastName={lastName}
If we were building these URLs 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
gollark: <@131368513871806464> http://www.greenarraychips.com/
gollark: I think you're anthropomorphizing them too much.
gollark: Reinforcement learning is a field which exists, though.
gollark: The largest AIs around are just trained to predict the next token of text, which is very easy to test and gives good natural language understanding.
gollark: With how things are going, it seems entirely possible that you'd get something human-level in at least a few ways just by taking some current AI designs and scaling them up a few orders of magnitude.
See also
- European Legislation Identifier (URL template is used by ELI)
External links
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.