CivetHelper..::..CommonCallApi Method

调用API接口的通用方法

Namespace:  PDSS.CivetPublic.User
Assembly:  PDSS.CivetPublic.User (in PDSS.CivetPublic.User.dll)

Syntax


public static string CommonCallApi(
	string relative_url,
	string method,
	string request_data,
	string contentType
)
Public Shared Function CommonCallApi ( _
	relative_url As String, _
	method As String, _
	request_data As String, _
	contentType As String _
) As String
public:
static String^ CommonCallApi(
	String^ relative_url, 
	String^ method, 
	String^ request_data, 
	String^ contentType
)

Parameters

relative_url
Type: String
API接口相对路径
method
Type: String
调用方法
request_data
Type: String
请求数据
contentType
Type: String
请求数据类型

Return Value

响应结果