Lucee no rest service for found in mapping

Hello everybody,
I want to work with api on Lucee. I created my default api address from the Lucee admin panel. I have uploaded the relevant file to the file path. I wrote the function file as cfc. But when I want to reach from postman or web, I can’t. Which step I did not do. I’m waiting for your help. thanks




4

Don’t forget to tell us about your stack!

OS: Windows Server 2019
Java Version:
Tomcat Version: 9.0
Lucee Version: Lucee 5.3.10.97

@taskinsafa As your admin config and CFC code looks good. I guess the issue may be the rest service doesn’t pick up your rest CFC code changes. So once you made changes in the rest cfc you must have to restart the rest service by using any one of the below methods. Please check this and let us know here if the rest worked or not.

Have you seen and followed this example from the docs?

1 Like