We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SimpleMultiPartRequest request = new SimpleMultiPartRequest(Request.Method.POST, Constants.URL_TEACHER_ADD, this, this);
if (teacher.getImagePath() != null) request.addFile("avatar", teacher.getImagePath().getPath()); request.addMultipartParam("name", "text/plain", teacher.getName()); request.addMultipartParam("sname", "text/plain", teacher.getSpiritualName()); request.addMultipartParam("desc", "text/plain", teacher.getDesc()); int socketTimeout = 60000 * 5; RetryPolicy policy = new DefaultRetryPolicy(socketTimeout, DefaultRetryPolicy.DEFAULT_MAX_RETRIES, DefaultRetryPolicy.DEFAULT_BACKOFF_MULT); request.setRetryPolicy(policy); request.setShouldCache(false); AppController.getInstance().addToRequestQueue(request, "REQ_TEACHER_ADD");
The text was updated successfully, but these errors were encountered:
com.android.volley.error.NoConnectionError: java.io.EOFException Request - [ ] http://xx.xxx.xx.xx:xxxx/user/teacher/ 0x2a876489 NORMAL null
Sorry, something went wrong.
No branches or pull requests
SimpleMultiPartRequest request = new SimpleMultiPartRequest(Request.Method.POST, Constants.URL_TEACHER_ADD, this, this);
The text was updated successfully, but these errors were encountered: