This commit is contained in:
msyu
2024-10-23 11:17:42 +03:00
commit ab5c944862
380 changed files with 55823 additions and 0 deletions
@@ -0,0 +1,13 @@
<cfcomponent extends="taffy.core.resource" taffy:uri="/pdf/mew">
<cffunction name="get">
<cfset var local = structNew() />
<cfdocument format="PDF" name="local.pdf">
<h1>Mew mew mew mew</h1>
<img src="/taffy/examples/api_img/images/Kitten_cups.jpg"/><br/>
<img src="/taffy/examples/api_img/images/PETA_sea_kitten.jpg" />
</cfdocument>
<cfreturn streamBinary(local.pdf).withStatus(200).withMime("application/pdf") />
</cffunction>
</cfcomponent>