Skip to content Deprecated


Replaced by

This function downloads a resource and stores it as the provided file name in the MODLR Filesystem. This can be accessed via processes using the MODLR Filesystem or through the MODLR FTP Server.

js, method, postData, saveAsFilename), method, postData, saveAsFilename)


  • url - the URL of the resource to download.
  • method - the method of the request GET or POST.
  • postData - the post data to send to the server.
  • saveAsFilename - the name and subfolder to store this file as.


let success ="", "GET", "", "logo.png");
let success ="", "GET", "", "logo.png");