Page 1 of 1

RestFul java example for creating new folder

PostPosted:Wed Apr 04, 2018 11:43 am
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.

Re: RestFul java example for creating new folder

PostPosted:Thu Apr 05, 2018 3:24 pm
by jllort