📄️ Overview
MyCroCloud functions let you write JavaScript handlers that run on the server in response to HTTP requests. Each function is a single handler function that receives a request object and returns a response.
📄️ Request & Response
Every MyCroCloud function receives a request object as its argument and must return a response object. This page documents both.
📄️ Fetch API
MyCroCloud functions include a built-in fetch() function for making HTTP requests to external APIs. It follows the standard Fetch API with some differences noted below.
📄️ Console API
MyCroCloud functions include a built-in console object for logging. Logs are captured during execution and displayed in the Logs page of your app dashboard.