且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从Android应用程序发送的JSON对象为空时,我想访问他的Java Servlet

更新时间:2023-12-04 14:45:13

对于code适当的工作,我必须删除从旁边的Andr​​oid code线:

For the code to work proper i have to remove the next to lines from android code:

entity.setContentType("application/json");   
post.setHeader("Content-type", "application/json");