エンドポイントがいくつか生成されていますが、正しく動作しますが、クライアントごとに1セッションを維持してメールやパスワードでリクエストを送信する必要はありませんが、している。これは、あなたが問題を持っているトピックのいくつかの研究を行った後、私のエンドポイントの1つGAE Javaエンドポイントに認証を追加する
@Api(name = "test")
public class MyApi {
@ApiMethod(name = "printHi", httpMethod = "POST")
public Message imprimirHola(Input input) {
Message message = new Message();
if(datosCorrectos(input.getMail(), input.getPassword()))
message.setMessage("Hi");
else
message.setMessage("authentication failed");
return message;
}
}