CommandBox - Rest Setup

Hi, I am unable to get rest functions in cfc to work at all. I keep getting “Not found” when I enable the listing service and try to view via browser.

I followed the Youtube video to the letter… (2257) RESTful Server - Part 1 - YouTube .

Again, I am using CommandBox. I tried both server and web admins, restarting the server and more. Any help appreciated, I am relatively new to Lucee.


CommandBox doesn’t add the REST servlet mappings by default because they get in the way of other frameworks like ColdBox and not may people use them. All you have to do is add the simple setting documented here for whatever mapping you’re wanting to use.

On a side note, I would also recommend you look into doing REST with a more capable framework. The built in REST has always been fairly limited and it’s harder to find help for it.

\Building REST APIs - ColdBox HMVC Documentation

1 Like

Thank you so much! I will give it a try.

1 Like