Posts by José Vinícius • 3 points
2 posts
-
0
votes2
answers136
viewsA: I can’t get information from my API via android app
I managed to solve. I am using in android the retrofit2 library that requires a specific formatting of json. To get into such formatting I mounted the json object manually: $json = […
-
0
votes2
answers136
viewsQ: I can’t get information from my API via android app
I created a web API with the code: <?php header('Content-type: Application/JSON'); include("../Classes/conexao.php"); if($_SESSION['conectado'] == false){ echo json_encode("Sem resposta do…