Get the latest tech news
Claude's API now supports CORS requests, enabling client-side applications
Anthropic have enabled CORS support for their JSON APIs, which means it’s now possible to call the Claude LLMs directly from a user’s browser. This massively significant new feature is …
Anthropic have enabled CORS support for their JSON APIs, which means it’s now possible to call the Claude LLMs directly from a user’s browser. Previously I had to run my own proxy on Vercel adding CORS support to the Anthropic API just to get my Haiku app to work. This evening I upgraded the app to send that new header, and now it can talk to Anthropic directly without needing my proxy.
Or read this on Hacker News