Attention: Webscript.io is shutting down on December 15th, 2017.

Learn more on the home page.

Help and Support

Our team is here to help! If you don't find what you're looking for, please don't hesitate to contact us.

Frequently Asked Questions (FAQ)

  1. Why did you choose Lua as the scripting language?

    Lua is a rich, modern programming language that was designed and implemented to easily embedded and sandboxed inside another application, two properties that were essential to Webscript.io. (For those reasons, Lua is the scripting language of choice in the gaming world.) In addition, Lua's implementation—its virtual machine—is very lightweight, which makes it ideal for keeping your scripts responsive and our costs low.

  2. Why didn't you choose JavaScript as the scripting language?

    JavaScript is a bigger language with a heavier implementation than Lua. Embedding available open source implementations and providing the appropriate isolation and sandboxing between scripts would have been a bigger challenge than doing it with Lua.

  3. When do things expire?

    Expiration is tied to subdomains. For Webscript users under the Unlimited plan, subdomains never expire. For users with free accounts, subdomains expire after seven days.

  4. What happens when a subdomain expires?

    When a subdomain (e.g. example.webscript.io) expires, all scripts under that subdomain stop being served. If a web request comes in for an expired script, the response is a 404. On webscript.io, expired scripts are still visible in a read-only state for seven days after expiration. If you upgrade to the Unlimited plan during that time, your expired scripts will be fully restored.

    Unless you upgrade, subdomains are permanently deleted seven days after expiration. This includes all scripts, storage, and cron jobs.

  5. Can I make cross-domain AJAX calls to my scripts?

    Webscript fully supports Cross-Origin Request Sharing (CORS), so you can make cross-domain calls to your scripts from all modern browsers. If you're using jQuery and looking for cross-domain AJAX support in IE8 and IE9, we recommend xdr.js.

  6. How do I send an email message from a Webscript? Do you provide an SMTP server?

    Webscript provides an API for sending email (email.send(...)), but it does not provide an SMTP server. To use Webscript's email capability, you must have access to an SMTP server and valid credentials. Popular third-party SMTP servers include Amazon SES and SendGrid.

    Your personal email may also provide this functionality. For example, if you're using GMail, you can use the SMTP server smtp.gmail.com, with your full email address and password as the credentials.

  7. How long can my script run?

    Webscript limits script execution to 10 seconds per invocation. That 10 seconds includes time spent doing anything, including waiting for outbound HTTP requests to return.

  8. How much memory can my script consume?

    Webscript limits individual script invocations to 10MB of memory.

  9. What is the maximum size of a request that a webscript can handle?

    Webscript will reject requests over 10MB with a 413 error.

  10. How much persistent storage can I use?

    Each Webscript account has a soft limit of 1,000 key/value pairs in persistent storage. We won't necessarily suspend an account with more than 1,000 pairs, but we will if that heavy usage starts to take a system-wide toll.