โ˜… GitHub โฌ‡ Releases ๐Ÿ’ฌ #taffy on CFML Slack โš– Apache-2.0

# Write REST APIs in CFML โ€” without the boilerplate. **Taffy** is a full-featured REST framework for ColdFusion and Lucee. Drop a CFC into your `/resources/` folder, add a URI annotation, and you have an API. Content negotiation, caching hooks, CORS, JSONP, an interactive dashboard, OpenAPI JSON, and custom serializers โ€” all included.

Download v4.0.0 Quickstart → Read the Docs

## Why Taffy? ## Quickstart: Your First API Three files. That's the whole API. **Application.cfc** ```cfscript component extends="taffy.core.api" {} ``` **index.cfm** ``` ``` **/resources/hello.cfc** ```cfscript component extends="taffy.core.resource" taffy_uri="/hello" { function get(){ return rep( [ "hello", "world" ] ); } } ``` Point a browser at `index.cfm` and you get the Taffy dashboard. Hit `/hello` and you get JSON. Add a `post()` method โ€” that's your POST handler. Add `taffy_uri="/hello/{name}"` โ€” now `name` is an argument. [Read the full Getting Started guide →](https://github.com/atuttle/Taffy/wiki/Getting-Started) ## Current Release > **Taffy 4.0.0** is the latest stable release. > [Release notes](https://github.com/atuttle/Taffy/releases/tag/v4.0.0) ยท > [Download](https://github.com/atuttle/Taffy/archive/v4.0.0.zip) ยท > [Docs](4.0.0.md) ## All Versions Taffy keeps every version's docs online forever โ€” because nobody has time to keep every framework and every dependency up to date. If you're still on an older version, the docs that shipped with it still work. ### Taffy 4.x ### Taffy 3.x ### Taffy 2.x ## Community - ๐Ÿ’ฌ Join **#taffy** on the [CFML Slack](https://cfml-slack.net/) - ๐Ÿ› [Report issues on GitHub](https://github.com/atuttle/Taffy/issues) - ๐Ÿ™‹ [Contribute](https://github.com/atuttle/Taffy/blob/master/CONTRIBUTING.md) - ๐Ÿ“œ [Changelog](https://github.com/atuttle/Taffy/releases) ## Other Resources
REST Assured โ€” A Pragmatic Approach to API Design

Need to level up on REST fundamentals?

Taffy's author wrote a book on API design. REST Assured โ€” A Pragmatic Approach to API Design covers the parts every framework leaves out.

Get the book →