Check camunda is working in spring boot application

Hi, I created a spring boot application and added camunda dependencies to it. How can i check if camunda is correctly working on my application before i start developing anything?

Did you add the REST API as well?
if so then you should be able to just reach the engine through a simple rest call like
http://localhost:8080/rest/engine
which should return:

name:	"default"

how do i add rest api, my goal is to add rest api for my project.

I added this dependencies.
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
<version>3.2.0</version>
</dependency>

That dependency also adds the REST API.
You should be fine.

i tried this http://localhost:8080/rest/engine. But it says that iā€™m not authorized.

image

You probably have some spring security setup so you need to look into that.

1 Like

@dushan_chain1 if you have added spring-security dependencies and if spring security is not configured in the application, then remove the spring security related dependencies.

1 Like