I have a
if(!defined("CONSTANT")) die("Access denied");
Finally, testing different options during some hours, I get the solution.
If you are changing three values in your
PUT method of your
REST API, for example,
idCar, after setting their new values (that you send from your
Android application) you can put on your
Here all it's equals than before. So, how can you see what
print_r it's displaying?
After executing your
response on your
Android application, you can put these two lines:
HttpEntity entity = response.getEntity(); String responseText = EntityUtils.toString(entity);
And then you can put a
Log to see what it's displaying:
Now you will be able to see what
print_r it's displaying.