Hi,
If I want to send a record from my app to update the database, I do it like 
this:

    public static Response adicionOrden2(Orden2 p) {
        Response<String> r = Rest.post(SERVER_URL + "orden/adicionOrden2").
                header("token", UsuarioService.getToken()).
                jsonContent().
                body(p.getPropertyIndex().toJSON()).getAsString();
        return r;
    }

How can I send an ArraList?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b09f0dfc-6347-4578-968b-10732b031cd3o%40googlegroups.com.

Reply via email to