Hey everyone,
I am working on project in ColdBox & hit a bit of a wall when trying to integrate with an external REST API. I have managed to set up the basic API call using CFHTTP but I am not quite sure how to handle responses cleanly within my ColdBox handlers or services. I keep thinking I am overcomplicating things.
Has anyone here done something similar & could maybe point me to a clean example or best practices for this? I want to know about structuring the response & handling errors inside a ColdBox app.
Also, slightly off-topic but I have been brushing up on some backend concepts through a Golang Training I took helpful when thinking about performance & structuring API logic, even in CFML. Also i have check this ColdBox - Serve HTML and REST API still need your help.
I appreciate your advice or links.
Thank you…![]()