0
I’m having the following problem: I’m using the Android Rest API library https://github.com/excilys/androidannotations/wiki/Rest-API, and I’m trying a post, but the post only accepts a single parameter, which I’m trying to send as an object, and Json expects to receive the following :
public class User(){
int USER_ID[Id]
String USER_nome[nome]
}
Since I can’t put brackets as this attribute name on my Object, then how do I send this object?
Welcome to the OS. Can you post the JSON that is generated? It would also be interesting for you to post a little more of your code so they can help you better.
– Tulio F.