AJAX API for TelHosting Software Is there anyone who have examples about "AJAX API for TelHosting Software",I have seen this useful api,but I do not understand how to use it ,if you can help me with some examples ,I would really appreciate it! |
The telhosting software itself uses the AJAX API. You won't need it unless you want to program your own front-end to manage .tel domains. Is that what you want to do? |
Yes ,I need to use some features of AJAX API for my own website. |
Henri, this be useful in creating small HTML5 apps? For example taking advantage of geo location to interact with your .tel in real-time. I did this already with HTML5 and PHP server using SOAP. But who needs the server if you can do it all using the browser. Mark |
Quote:
Yes the API is relatively stable by now, and is being used by a number of apps (including the Telhosting front-end itself, and My.tel on iOS/Android). Read the docs at http://dev.telnic.org/trac/wiki/AjaxAPI In order to work the app, you need to use the login method, which will return you a cookie. Use that cookie in the headers for future AJAX calls. If at some point your AJAX call returns an HTML error page saying you're not logged in, call the login method again to refresh the cookie and continue.[/size] |
Can this be upgraded so no need for a user to login, ie use OpenAuth? Then such an app can be deployed on any device once authorized first time. Mark |
Quote:
Not at this time.[/size] |
Too bad, that's what will limit development of device-independent apps. Still can be done using server and soap, perhaps just not as elegant. Is it at least a possibility? Mark |