![Embarrassment](https://forum.open-xchange.com/core/images/smilies/redface.png)
I made 2 JSONObjects in the to send Array, but in fact we need only one !
that's the good version :
//the to send array
JSONArray jsona = new JSONArray();
//The JSONObject containing the fields "id" and "folder"
JSONObject jsono = new JSONObject();
jsono.put("id",10);
jsono.put("folder",46);
//The object in the array
jsona.put(jsono);
//And you send the array by the RequestEntity
Thanks a lot for your help !!
Espionnite
Leave a comment: