RestFul java example for creating new folder

Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Tue Apr 03, 2018 11:45 am

RestFul java example for creating new folder

Post by RescatorX »

I need to use 'createSimple' method of OpenKM folder service to create new folder in java.
By the documentation it must be executed as POST method using XML or JSON structure, but when I run it using CURL, the body contains just the new folder path without parameter name (watched in Fiddler) and the json and/or xml is empty.
I am trying to create the client to call the createSimple method but I get only 500 Internal Server Error....
Can you please show an example ?
Thank you in advance.

Posts: 11081
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain

Re: RestFul java example for creating new folder

Post by jllort »

Post Reply