How a request URI for a measured variable looks is entirely up to you. By convention, I will call measured variables /
name/actual—in this case,
/voltage/actual. However, you can use any URI as long as you use only ASCII letters, digits, and the characters
=. For example, the relative URI
/root/sensors/analog/1 would be a perfectly legitimate alternative and would look like this:
Just because you set up your server to reply to a request with a long request URI doesn’t mean you have to support resources for such URIs as the following, which exist all along the path:
http://192.168.5.100/root/sensors/analog http://192.168.5.100/root/sensors ...