REST mappings

I have a windows install and setup a Lucee server through commandbox. Site works fine but I cannot setup a REST mapping. In the web admin I have the virtual path setup:
virtual: /api
physical: C:\mypath\server\wwwroot\TestProject\cfc

But when I go to http://localhost:55113/rest/ I get the message “Not Found” .

Any help would be appreciated.

You need to enable the rest servlet filter. It’s off by default in CommandBox because the built in rest sucks and no one uses it.

If you need rest, I’d really just recommend using ColdBox, which is far more powerful, more supported, easier to use, and doesn’t require a special servlet filter.



Developer Advocate
Ortus Solutions, Corp

ColdBox Platform: