I'm creating a login for my application. 
I am currently stuck in posting problems to my API

This is my API that which is made to support login.

```
{
success: false,
message: "Please provide complete and accurate information.",
data: [ ]
}

fun loginUrlSuccess(urlApi : String) {
    Log.d("login", urlApi)
    authSignin_cgi = gson.fromJson(urlApi, DtoProfile::class.java)
    loginsSuccess = authSignin_cgi.success
    val queue    = Volley.newRequestQueue(context)
    val stringReq              = object : StringRequest(Request.Method.POST,urlApi,Response.Listener<String>{ response ->
        Log.w("response",response)
        Toast.makeText(context,"Loging success..",Toast.LENGTH_SHORT).show()
        if (loginsSuccess){
            Toast.makeText(context,authSignin_cgi.message,Toast.LENGTH_LONG).show()
        } else {
            Toast.makeText(context,authSignin_cgi.message,Toast.LENGTH_LONG).show()
        }
    },Response.ErrorListener { error ->
        Log.w("error", error.toString())
        Toast.makeText(context, "error..$error",Toast.LENGTH_SHORT).show()
    }){
        override fun getParams(): MutableMap<String, String> {
            val param = HashMap<String, String>()
            val userEmail = textEmail.text.toString().trim()
            val userPassword = textPassword.text.toString().trim()
            param["useremail"] = userEmail
            param["userpassword"] = userPassword

            return param
        }
    }
    queue.add(stringReq)
}

```

I get an error from the Logcat screen. 

So what do I have to do?
------------------------

---

```
04-04 15:31:43.614 8365-8699/com.example.atimeonlin5 E/Volley: [700] NetworkDispatcher.processRequest: Unhandled exception java.lang.RuntimeException: Bad URL {"success":false,"message":"โปรดระบุข้อมูลให้ถูกต้องครบถ้วน","data":[]}
java.lang.RuntimeException: Bad URL {"success":false,"message":"โปรดระบุข้อมูลให้ถูกต้องครบถ้วน","data":[]}

```