Restful API Java模拟HTTP客户端发POST消息 application/json 1. Java原生的URL类方法 2. Java调用curl 3. 使用Apache HttpClient