Forgot to mention the HTTP API Testing Suite has been improved too. It now can beautify the JSON responses!
Category: Uncategorized
HTTP API, Uncategorized
HTTP API: JSON support and set_parcel_info command
by Glaznah Gassner • • 0 Comments
Making SmartBots comfortable for developers is one of our primary targets. Our bots are developing, new features are being added. We are glad to release the very important update to SmartBots API. JSON support We’ve reworked all HTTP API commands to return a more convenient response – JSON (this is optional update, all existing LSL scripts will keep working!).…
Uncategorized
HTTP API im accepts UUIDs
by Glaznah Gassner • • 0 Comments
We’ve just discovered a small miswording in our docs. Actually, the “im” HTTP API command accepts both SL name and UUID. Check the actual command reference here.
Uncategorized
Persistent variables using localStorage
by Glaznah Gassner • • 0 Comments
In a browser, JavaScript scripts can store persistent data (the data which survives page reload) using a localStorage mechanism. We’ve added the similar functionality to the Bots Playground: localStorage.set() and localStorage.get() functions. These two functions store and retrieve values to/from a persistent storage: var controlling_avatar = localStorage.get(“my_master”); … if(new_master) { controlling_avatar = new_master; // We…