This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JForum and the fly likes Calling jForum REST API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Calling jForum REST API" Watch "Calling jForum REST API" New topic

Calling jForum REST API

Michael Samir

Joined: Mar 06, 2014
Posts: 2
I knew that jForum provides REST API's, but I want to know how to call them using JAVA, since I found no documentations about that any where

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
Looking at, the only calls seem to be 1) creating a user, 2) listing all users, 3) creating a post. That file also tells you which parameters are required.

"api_key" is apparently something you need to put into the "jforum_api" table. In my local installation I just performed

insert into jforum_api values (nextval('jforum_api_seq'::regclass), 'foobar', '2015-01-01')

and after that the URL http://localhost:8080/jforum2/userApi/list/ returned the list of all users.
I agree. Here's the link:
subject: Calling jForum REST API
jQuery in Action, 3rd edition