原文标题:API request in Android the easy way using Kotlin 原文链接:http://antonioleiva.com/api-request-kotlin/ 原文作者:Antonio Leiva(http://antonioleiva.com/about/) 原文发布:2015-07-21 Kotlin是功能非常强大的编程语言,其目标是利用较少的模板(boilerplate)编写更多的代码.尤其是在Android开发中.除了编程语言自身和它的类之外
http请求由:请求行:消息报头:请求正文组成 //请求行 Request URL: http://172.32.4.33:8080/operation/v2/autoServer/queryAutoServer.htm //请求地址 Request Method: POST //请求方式 Status Code: 200 OK