方法参数定义如下
源代码如下
method qxb_http_get.
data:lv_url type string.
"===============初始化===============================================
"获取http实例
cl_http_client=>create_by_destination(
exporting
destination = space
importing
client = data(lo_client)
).
"设置请求方法为Get(也可通过post实现)
lo_client->request->set_method( if_http_request=>co_request_method_get ).
"设置get方法query string
lv_url = method.
"=====================查询条件=======
359



被折叠的 条评论
为什么被折叠?



