cancel
Showing results for 
Search instead for 
Did you mean: 

activiti-rest: Bad link in the user guide.

gfrlog
Champ in-the-making
Champ in-the-making
Wooh boy did I just have the most adventurous two days of debugging the activiti-rest app! In the end the root cause was that I hadn't read the User Guide in enough detail. But in my own defense I got sidetracked by the following sentence which turned out not to be true:

It is possible to browse the REST API if you point your browser to http://localhost:8080/activiti-rest/service/index and login as one of the admin users (kermit).

As best I can tell from having dug through the activiti-rest source code for a long while is that this route no longer exists (assuming it used to). If I'm wrong about this, that means I'm missing out on something, which I'd certainly like to know. If I'm right, then maybe some future person can be spared the detour. Either way, it seemed worth posting about.
8 REPLIES 8

frederikherema1
Star Contributor
Star Contributor
You're right, I have removed it from the userguide in trunk a while ago (post 5.7). Will be removed in 5.8 release.

gfrlog
Champ in-the-making
Champ in-the-making
Aw dangit. I was checking trunk for other things, but forgot to check for that. My apologies.

groovydude
Champ in-the-making
Champ in-the-making
I ran into this also. Glad this post was up. I am also having a problem pointing my browser to
http://localhost:8080/activiti-rest/service/login

I receive the following

Method Not Allowed

The method specified in the request is not allowed for the resource identified by the request URI

Greatfull for any assistance

Thanks!

frederikherema1
Star Contributor
Star Contributor
Are you doing a POST-request? GET is not supported for that resource…

groovydude
Champ in-the-making
Champ in-the-making
Thanks for the clarification. I was confused by the documentation  Smiley Surprisedops:

andzoff
Champ in-the-making
Champ in-the-making
Hi friends,
I just cannot enter to the REST application page with activity-5.13.
Neither of these works:
<code>
http://localhost:8080/activiti-rest/service
http://localhost:8080/activiti-rest/service/index
http://localhost:8080/activiti-rest/service/login
</code> Which is the correct link?
Is it possible to get into the REST webapp page?
I get into the <b>activiti-explorer</b> page ok, with no problem.

Any help will be appreciated.
Andrea, Itely

trademak
Star Contributor
Star Contributor
We have a very detailed user guide that also shows all the service urls that you can use, did you look at that?
All your urls are invalid, only /login is correct, but that only allows for POST requests.

Best regards,

andzoff
Champ in-the-making
Champ in-the-making
Thanks Tijs, for you answer.
I'm new to Activiti, and I like this world. So I'm doing my best to learn quickly.

Andrea, Italy