Difference between revisions of "User:Darien Caldwell/HTTP-DNS"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{void-box |title=Dynamic DNS service for HTTP-IN via Google App Engine: |content= Once it's installed you can start using it: http://yourappname.appspot.com/?type=add&name=[NAM…")
 
Line 4: Line 4:
Once it's installed you can start using it:
Once it's installed you can start using it:


http://yourappname.appspot.com/?type=add&name=[NAME]&url=[URL]
*http://yourappname.appspot.com/?type=add&name=[NAME]&url=[URL]
Adds a new service named [NAME] with the HTTP-IN url [URL].  
Adds a new service named [NAME] with the HTTP-IN url [URL].  
The URL must be converted to a string using llEscapeURL() first.
The URL must be converted to a string using llEscapeURL() first.
Line 10: Line 10:
  already exists.  
  already exists.  


http://yourappname.appspot.com/?type=remove&name=[NAME]
*http://yourappname.appspot.com/?type=remove&name=[NAME]
  Removes the given service named [NAME].  
  Removes the given service named [NAME].  
Returns 'Removed' if successful, or 'None' if the service wasn't found.
Returns 'Removed' if successful, or 'None' if the service wasn't found.


http://yourappname.appspot.com/?type=update&name=[NAME]&url=[URL]
*http://yourappname.appspot.com/?type=update&name=[NAME]&url=[URL]
Updates the service named [NAME] with the HTTP-IN url [URL].
Updates the service named [NAME] with the HTTP-IN url [URL].
  The URL must be converted to a string using llEscapeURL() first.
  The URL must be converted to a string using llEscapeURL() first.
Line 20: Line 20:
  If the service doesn't exist, a new service is added and 'Added' is returned.
  If the service doesn't exist, a new service is added and 'Added' is returned.


http://yourappname.appspot.com/?type=retrieve&name=[NAME]
*http://yourappname.appspot.com/?type=retrieve&name=[NAME]
  Retrieves the url of the given service named [NAME].  
  Retrieves the url of the given service named [NAME].  
Returns the URL if the service is found, or 'None' if the service wasn't found.
Returns the URL if the service is found, or 'None' if the service wasn't found.
  the returned URL must be converted to a URL using llUnescapeURL()
  the returned URL must be converted to a URL using llUnescapeURL()


http://yourappname.appspot.com/?type=list
*http://yourappname.appspot.com/?type=list
  Lists the available services currently stored.  
  Lists the available services currently stored.  
Returns a Comma seperated list of service names, ending with the word 'END'.
Returns a Comma seperated list of service names, ending with the word 'END'.

Revision as of 16:23, 16 August 2012

Dynamic DNS service for HTTP-IN via Google App Engine:

Once it's installed you can start using it:

Adds a new service named [NAME] with the HTTP-IN url [URL]. The URL must be converted to a string using llEscapeURL() first.

if the URL is added, returns the response 'Added', or 'Found' if the service
already exists. 
Removes the given service named [NAME]. 

Returns 'Removed' if successful, or 'None' if the service wasn't found.

Updates the service named [NAME] with the HTTP-IN url [URL].

The URL must be converted to a string using llEscapeURL() first.
If the URL is updated the response 'Updated' is returned.
If the service doesn't exist, a new service is added and 'Added' is returned.
Retrieves the url of the given service named [NAME]. 

Returns the URL if the service is found, or 'None' if the service wasn't found.

the returned URL must be converted to a URL using llUnescapeURL()
Lists the available services currently stored. 

Returns a Comma seperated list of service names, ending with the word 'END'.

if no services are defined, 'Empty' is returned.