====== addStorageItems ====== Adds specified data to the [[en:api:wastorage|storage]] on the specified address. ===== Syntax ===== addStorageItems = function(aStorageURL, aStorageKey, aCryptoKey, aItems, aStoragePass); ==== Parameters ==== * **//aStorageURL//** * //type:// string * //functions:// storage address * **//aStorageKey//** * //type:// string * //functions:// identification key * **//aCryptoKey//** * //type:// string * //functions:// key for encryption / decryption * **//aItems//** * //type:// array of string * //functions:// strings that should be added to the storage * **//aStoragePass//** * //type:// string * //functions:// password to access the storage ===== Examples ===== -var items = ['first item', 'second item', 'third item']; //Add the elements to the storage addStorageItems('http://mysite.ru/storage.php','requests','mycrypto',items);