When I call the rest api to get details of a task as shown below, it gives the error in blockquote:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Mar 20 15:15:28 GST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
Why have you decided to use that endpoint?
it’s for testing purpose only
I mean, why are you using that end point specifically? Is there a reason why you’re not using the standard REST API endpoint?
in fact i got the end point on the following post: https://blog.camunda.com/post/2015/08/start-and-complete-process-with-rest-api/
but what is the standard rest api endpoint?
In that post the endpoint i used is:
And the endpoint you said you’re using is :
The reason i’m asking is because i wanted to check if there might have been some misleading documentation that lead you to that endpoint that i might be able to fix. But i think it might have just been a typo
If you use the first endpoint then it should hopefully work.
Thats just the endpoint - you would then add the call you want to make, so if you want to get tasks you would use
EDIT: unless you’re using springboot which for some reason would be
probably I already know the answer but just requesting a confirmation, the
http://localhost:8080/rest/task / http://localhost:8080/engine-rest/task
will not work until I have camunda-bpm-spring-boot-starter-rest library in my project?
@Anuj28282828 you must have the dependency camunda-bpm-spring-boot-starter-rest in your project and access it via http://localhost:8080/rest
what about webapp?
I have built my project using camunda-bpm-spring-boot-starter-webapp, I should be able to see the Applications like Cockpit and others, right?
consider using this little getting started screen to build your spring boot project. this will ensure that you don’t forget components you need.
Hi Niall - Thanks much for your reply. I do have all the components I need.
I do have spring-security/camunda-webapp. But still the apps are not really coming up on my machine.
Can you be more specific about what you’ve tried and what you’re seeing?
Hi Niall - I have described a bit on this post - Errors while deploying starter Spring-Boot