too long

I'm making an Android app that uses Volley to make a call to a PHP script to access a MySQL server. However, the parameters that I'm sending via GET are empty. It works when I test the call with Postman. Here's the Android code:

    RequestQueue queue = Volley.newRequestQueue(this);
    String url = "http://lastboxusa.com/php/PLogin.php";
    HashMap<String, String> params = new HashMap<String, String>();
    params.put("username", username);
    params.put("password", password);
    JsonObjectRequest request = new JsonObjectRequest(Request.Method.GET, url, new JSONObject(params), new Response.Listener<JSONObject>() {
        @Override
        public void onResponse(JSONObject response) {
            try {
                VolleyLog.d("Response = " + response.toString());
                String result = response.get("Result").toString();
                VolleyLog.d("Result = " + result);
                if (result.equals("Disallow")) {
                    Toast.makeText(context, "Invalid Username and/or Password.", Toast.LENGTH_LONG).show();
                } else if (result.equals("Customer")) {
                    Toast.makeText(context, "Customer Logged In", Toast.LENGTH_LONG).show();
                    // Customer Login
                } else if (result.equals ("Rep")) {
                    Toast.makeText(context, "Rep Logged In", Toast.LENGTH_LONG).show();
                    // Rep Login
                }
            } catch (JSONException e) {
                e.printStackTrace();
            }
        }
    }, new Response.ErrorListener() {
        @Override
        public void onErrorResponse(VolleyError error) {
            try {
                VolleyLog.e("Status Code: ", String.valueOf(error.networkResponse.statusCode));
                VolleyLog.e("Error: ", new String(error.networkResponse.data, "UTF-8"));
            } catch (Exception e) {
                e.printStackTrace();
            }

        }
    }) {

        @Override
        public Map<String, String> getHeaders() throws AuthFailureError {
            HashMap<String, String> headers = new HashMap<String, String>();
            headers.put("Content-Type", "application/json; charset=utf-8");
            return headers;
        }
    };
    queue.add(request);

Here's the PHP:

header('Content-Type: application/json; charset=utf-8');

$con = mysqli_connect('domain', 'username', 'password', 'db') or die("Connection Failed");

$username = $_GET['username'];
$password = $_GET['password'];

$result = mysqli_query($con, "SELECT * FROM  `Users` WHERE  `Username` =  '$username' AND  `Password` =  '$password'");

if ($result && $result->num_rows > 0) {
    $ans = $result->fetch_assoc()['UserType'];
    $response['Result'] = $ans;
    $response['Username'] = $username;
    $response['Password'] = $password;
} else {
    $response['Result'] = "Disallow";
    $response['Numrows'] = $result->num_rows;
    $response['Username'] = $username;
    $response['Password'] = $password;
}

echo json_encode($response);

mysqli_close($con);

Expected output of this (Actual output from Postman when supplied username=testrep, password=test):

{"Result": Rep, "Username": "testrep", "Password", "test"}

Actual output from code when supplied with the same values:

{"Result": "Disallow", "Numrows": 0, "Username": null, "Password": null}

If sent with Volley get request,only the parameters can be stitched behind the url.

String url="http://lastboxusa.com/php/PLogin.php?username"+username+"&password"+password;