Does the agent know its url?

is it possible for the agent to know its own url by himself?

https://electricimp.com/docs/api/http/agenturl/

ok, I feel dumb