http://persistent-kangaroo.serverjoes.com/reg?service=<service uuid>&url=<current url>
service uuid: unique key for your service that you want persistent URL for. You can use the /rand page to generate a unique UUID for your service. Use only one key for a service!
current url: url gotten from latest successful llRequestURL() note, don't forget to llEscapeURL() it and append a / at the end of it
This will return string OK as the body if successful.
http://persistent-kangaroo.serverjoes.com/go/<service uuid>
http://persistent-kangaroo.serverjoes.com/get/<service uuid>
http://persistent-kangaroo.serverjoes.com/rand
// First, get a UUID for your service (visit /rand once)
string serviceUuid = "your-generated-uuid-here";
// In your script:
llRequestURL();
// In the http_request event:
http_request(key id, string method, string body) {
if (method == URL_REQUEST_GRANTED) {
string url = body;
string encodedUrl = llEscapeURL(url) + "/";
string regUrl = "http://persistent-kangaroo.serverjoes.com/reg?service=" + serviceUuid + "&url=" + encodedUrl;
llHTTPRequest(regUrl, [], "");
}
}