I want to send post request with raw string rather than setting params using volley.
I have tried to override the getBody method in StringRequest like following:
@Override
public byte[] getBody() throws AuthFailureError {
return rawString.getBytes();
}
It won't even send the request and gives the error: com.android.volley.TimeoutError
Any help will be appreciated.