79387536

Date: 2025-01-25 21:19:00
Score: 2
Natty:
Report link

Thank you this helped me figure it out. I assumed the data type would be sent serialized through Retrofit. I am testing this on a local server so I do have access. I needed to update the server PHP script. Below is what I needed to do to receive the data.

<?php

....
$data = json_decode(file_get_contents('php://input'));

$username = $data->{'username'};
$email = $data->{'email'};
$password = $data->{'password'};

....
?>
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Russell Sjoblom