box.com invoice example: path of /rest/upload incorrect
mathiasconradt opened this issue · comments
There is a duplicate /rest
in the path for /rest/upload
.
(I am not actually sure if this is an issue or not, but still wondering why that is. It looks a bit uncommon.)
Hm, actually I find this double /rest/rest/...
path in multiple source files / html forms. Is it intentionally? But why?
UploadFacade.java:
@Path("/rest")
public class UploadFacade {
RestApplication.java
@ApplicationPath("/rest")
public class RestApplication extends Application {
}
In any case, the UploadFacade does not seem to be properly registered.
In both cases, the URLs
GET http://localhost:8080/camunda-invoice-box/rest/rest/embedLink
GET http://localhost:8080/camunda-invoice-box/rest/embedLink
show a 404
error.
On Camunda 7.8.0 CE with Tomcat.
Even though it's weird, twice /rest works on Wildfly. Probably could be fixed in the example.
Do you want to create a PR?