Difference between revisions of "User:Darien Caldwell/HTTP-DNS"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
*http://yourappname.appspot.com/?type=remove&name=[NAME] | *http://yourappname.appspot.com/?type=remove&name=[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] | ||
Line 21: | Line 21: | ||
*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]. | |||
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. | |||
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'. | ||
if no services are defined, 'Empty' is returned. | if no services are defined, 'Empty' is returned. | ||
}} | }} |
Revision as of 17:24, 16 August 2012
Dynamic DNS service for HTTP-IN via Google App Engine:
Once it's installed you can start using it:
- http://yourappname.appspot.com/?type=add&name=[NAME]&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.
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.
- http://yourappname.appspot.com/?type=update&name=[NAME]&url=[URL]
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.