Introduction
The Web Modules API allows you to define functions in your backend code that can be called from your site's frontend code.
To use the Web Modules API, import the webMethod
function and the Permissions
enum from the wix-web-module
module:
javascript | Copy Codeimport { webMethod, Permissions } from 'wix-web-module';
Learn more about working with the Web Modules API.
Was this helpful?