[Coldbox-6.1] Replace default structure response

14 views
Skip to first unread message

Roberto Marzialetti

unread,
Dec 5, 2020, 8:35:41 AM12/5/20
to ColdBox Platform
Hi everyone

I started playing with Coldbox to create an API Rest application.
In a short time I was able to get it working :-)

I have a problem: I would like to replace the default structure response with a custom one. Is  possible?



I don't find anything for this in docs or config.

Many thanks :-)


Jon Clausen

unread,
Dec 5, 2020, 10:17:29 AM12/5/20
to col...@googlegroups.com

Robert,

 

My reply to your pagination structure question should point you in the right direction.  The solution is going to be to extend or create a new `Response` object which will be used instead of the one at coldbox/system/web/context/Response.cfc

 

Jon

 

From: <col...@googlegroups.com> on behalf of Roberto Marzialetti <roberto.m...@gmail.com>
Reply-To: "col...@googlegroups.com" <col...@googlegroups.com>
Date: Saturday, December 5, 2020 at 8:35 AM
To: ColdBox Platform <col...@googlegroups.com>
Subject: [coldbox:28024] [Coldbox-6.1] Replace default structure response

 

Hi everyone

 

I started playing with Coldbox to create an API Rest application.

In a short time I was able to get it working :-)

 

I have a problem: I would like to replace the default structure response with a custom one. Is  possible?

 

Q1MHjCae5YgAAAABJRU5ErkJggg==

 

I don't find anything for this in docs or config.

 

Many thanks :-)

 

 

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/a08f5d3b-405e-4a93-b411-a26db650f6d3n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages