Agent URL Format

I have another fairly basic question about the format of something, the agent URL. When I call:

http.agenturl()

I get something in the format of: https://agent.electricimp.com/<12_char_string>. I am planning on storing and updating this URL in a database table (in case it changes for some reason) periodically.

Since I will be storing it, I was wondering if the URL will always follow the current format of BASE_URL + 12 CHARACTER ID? I promise I already checked the doc corresponding to this method. :slight_smile:

http://devwiki.electricimp.com/doku.php?id=electricimpapi:http:agenturl

No, there is no such guarantee. It could be anything.

Peter

Thanks, @peter! I kind of figured that much.