I’d like do add an API inside ‘/rest’ route but I getting 404 error .
Here is my code:
@RestController
@RequestMapping(value = “/rest/customApi”)
public class TaskCamundaController {@RequestMapping(value = “/task/{userId}”, method = RequestMethod.GET)
public void getTask(@PathVariable(“userId”) String userId) {
System.out.println(“success”);
// TODO
}
}
Is that allowed? Or there is no way to add an API inside ‘/rest’ route?