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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of API

API

Photo of applications

applications

Photo of Claude

Claude

Related news:

News photo

Zed Code Editor Begins Adding AI Features Powered By Anthropic's Claude

News photo

Writers sue Anthropic for feeding 'stolen' copyrighted work into Claude

News photo

Claude just slashed the cost of building AI applications