Files
appwrite/docs/examples/1.8.x/console-web/examples/proxy/create-api-rule.md
Jake Barnby f85bf446e6 Sync docs
2025-08-26 15:40:03 +12:00

338 B

import { Client, Proxy } from "@appwrite.io/console";

const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID

const proxy = new Proxy(client);

const result = await proxy.createAPIRule({ domain: '' });

console.log(result);