initial
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<cfcomponent extends="taffy.core.resource" taffy_uri="/artist/{artistId}/art">
|
||||
|
||||
<cfset variables.dummyData = StructNew() />
|
||||
<cfset variables.dummyData.whatever = true />
|
||||
|
||||
<cffunction name="get" access="public" output="false">
|
||||
<cfreturn representationOf(variables.dummyData).withStatus(200) />
|
||||
</cffunction>
|
||||
|
||||
<cffunction name="post" access="public" output="false">
|
||||
<cfreturn representationOf(variables.dummyData).withStatus(200) />
|
||||
</cffunction>
|
||||
|
||||
</cfcomponent>
|
||||
Reference in New Issue
Block a user