RealComposer
Platform

Framer Edge API Recipes

Production-ready templates for calling third-party APIs from Framerwithout exposing secrets or maintaining a custom backend.

Framer safe & unsafe practices
Security & Secret Vault

Cloudinary upload api proxy for framer website

Framer components hit RealComposer for signed upload parameters. For "cloudinary upload api proxy for framer website", store CLOUDINARY_BASIC_AUTH in Secret Vault, call https://api.cloudinary.com/v1_1/{{secrets.CLOUDINARY_CLOUD_NAME}}/image/upload from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/cloudinary-upload-proxy-framer with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Cache anthropic api for repeated prompt previews

Short TTL cache on identical preview completions (non-production). For "cache anthropic api for repeated prompt previews", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/cache-anthropic-api-prompt-previews with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Platforms & Frameworks

How to call anthropic api from framer without cors

Framer fetch to RealComposer with streaming-friendly headers. For "how to call anthropic api from framer without cors", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/anthropic-api-framer-without-cors with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Mailchimp subscribe api from framer contact form

Real-time subscribe via edge instead of polling automation. For "mailchimp subscribe api from framer contact form", store MAILCHIMP_BASIC_AUTH in Secret Vault, call https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10 from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/mailchimp-subscribe-framer-contact-form with an rc_live_ client token.

Sub-10ms edgeView Recipe