I am trying to connect to my remote database, I have already created my api on the server (PHP) where the link : mydomain.com/myapi.php?myrequest=Login is the service url
this service requires a json array like the following {"email":"myemail@something.com", "password":"mypass"}.. those 2 values must be passed through MIT app inventor 2 with a 2 texboxes and then when the user click on the button login then I will show a success message on a label.
My service returns false in case there was something wrong in the authentication.
In the MIT app inventor 2 I am specifying my url service as a property (mydomain.com/myapi.php?myrequest=Login) for the tinywebdb but how can I get a result from my api?
in the server side I am using sendResponse(200, json_encode($result));
to get the result from my api.
Thanks.