Type:Uri: Difference between revisions

From Resonite Wiki
m 989onan moved page Types:Uri to Type:Uri: Misspelled title
Added technical information, added see also section. Added links and style.
Line 1: Line 1:
A Uri Is similar to a URL string. URI is known as a Uniform Resource Identifier, and is used to identify assets and their locations rather than a webpage or site. Since website images are assets in Resonite, URLs are commonly misconceived as being URIs.
A '''Uri''' Is similar to a URL string. URI is known as a Uniform Resource Identifier, and is used to identify assets and their locations rather than a webpage or site. Since website images are assets in [[Resonite]], URLs are commonly misconceived as being URIs.
 
== Technical ==
 
=== Input And Fields ===
When typing into any field of this type, make sure that it is formatted correctly or it will fail, examples include:
* <code><nowiki>http://www.google.com/</nowiki></code>
* <code><nowiki>http://127.0.0.1/</nowiki></code>
 
Inputs that will fail if entered like this (or revert back to the last known valid input, including null):
* <code>www.google.com</code>
* <code>127.0.0.1</code>
* <code>localhost</code>
 
=== Port Numbers ===
When entered correctly, port numbers can be added to the URI string like this: <code><nowiki>http://127.0.0.1:5000</nowiki></code>
* (TODO: Why is <code><nowiki>http://127.0.0.1:80</nowiki></code> not valid? Might need "https")
 
=== HTTP/HTTPS ===
Both <code>http</code> and <code>https</code> while part of the URI string is valid.
 
== See Also ==
* Wikipedia's definition on [https://en.wikipedia.org/wiki/Uniform_Resource_Identifier Uniform Resource Identifier (URI)]
* Wikipedia's definition on [https://en.wikipedia.org/wiki/URL URL]
 
[[Category:Type]]
[[Category:Type]]

Revision as of 16:00, 15 September 2024

A Uri Is similar to a URL string. URI is known as a Uniform Resource Identifier, and is used to identify assets and their locations rather than a webpage or site. Since website images are assets in Resonite, URLs are commonly misconceived as being URIs.

Technical

Input And Fields

When typing into any field of this type, make sure that it is formatted correctly or it will fail, examples include:

  • http://www.google.com/
  • http://127.0.0.1/

Inputs that will fail if entered like this (or revert back to the last known valid input, including null):

  • www.google.com
  • 127.0.0.1
  • localhost

Port Numbers

When entered correctly, port numbers can be added to the URI string like this: http://127.0.0.1:5000

  • (TODO: Why is http://127.0.0.1:80 not valid? Might need "https")

HTTP/HTTPS

Both http and https while part of the URI string is valid.

See Also