REST API endpoint in camunda not working

Hi,
I have built the source code of camunda-bpm-platform locally and then I have deployed the camunda-webapp.war file on wildfly. Now, I have a process.bpmn file in my camunda modeller and I want to deploy it on the running camunda platform.

Usually the endpoint http://localhost:8080/engine-rest works. But, it says ‘should point to a running camunda platform REST API’.

This is the link of my deployed camunda platform :-http://127.0.0.1:8080/camunda/app/welcome/default/#!/welcome

Another endpoint I tried was :- http://127.0.0.1:8080/camunda/api/engine/engine/default
It was asking for authentication but putting my login details did not work

Can anyone help with the issue I am facing? How can I successfully deploy my workflow?

Thanks

Well, http://localhost:8080/engine-rest is the correct rest endpoint.
You should probably check to make sure the that REST API is properly working on your running server.

Try to run this in your browser.

http://localhost:8080/engine-rest/engine

If it returns default the api is working.

Hi,
The api does not seem to be working.
How can I resolve it?

Sounds like you need to deploy the REST API component to the your wildfly server.

Can you tell me how can I do that? any doc or article related to it?

It should be all documented here.

Hope that helps.

It worked.
Thanks a lot.

1 Like